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?