4

I setup an Ubuntu 24 machine. I just wanted confirm what processes are serving 127.0.0.53:53 and 127.0.0.54:53 so I ran the below-mentioned command; however, I only see dash under PID/program columns. Please let me know if any work around.

mike@ubutnu24:~$ netstat -ntpl
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN      -                   

2 Answers2

10

You must use sudo to view the process that is redacted from display for your user.

Example:

sudo netstat -ntpl

This appears to be a permission issue.

mchid
  • 45,159
2

To find out which processes have port 53 open on localhost (IPv4 Standards define the whole127.*.*.* IP address range as localhost) use

sudo lsof -i:53