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?

crusy
  • 103

1 Answers1

1
sudo ss -ltup | grep dnsmasq

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

pim
  • 3,280