0

I used to run sudo netstat -tulpen | grep dnsmasq, but netstat is outdated. This answer says to use ss as an alternative, but I cannot get the desired output. I.e. ss -ltu | grep dnsmasq does not print anything, despite dnsmasq being obviously running (my domain gets resolved).

Can I use ss to see dnsmasq's listening address? If so: How? If not: What is the non-deprecated alternative to netstat?

1 Answer 1

1
sudo ss -ltup | grep dnsmasq

About your command: ss -ltu, The -p (Show process using socket) parameter is missing and -p requires sudo.

1
  • I tried -ltup, but without sudo, so thanks
    – crusy
    Aug 12, 2019 at 7:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .