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
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 '19 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.