lsof -i :53
OR
netstat -tulpn | grep ":53 "
sudo systemctl disable systemd-resolved.service
sudo systemctl stop systemd-resolved.service
same
On casaos/rpi, the port 53 is occupied by docker-proxy process and not systems. Hence the commands wont work, I'm afraid to kill docker-proxy, what if it takes down casaos? Any expert please help
$ sudo netstat -tulpn | grep ":53 "
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1152/docker-proxy
tcp6 0 0 :::53 :::* LISTEN 1166/docker-proxy
udp 0 0 0.0.0.0:53 0.0.0.0:* 1182/docker-proxy
udp6 0 0 :::53 :::* 1198/docker-proxy
same problem getting this error:
#Failed to disable unit: Unit file systemd-resolved.service does not exist.
#Failed to stop systemd-resolved.service: Unit systemd-resolved.service not loaded.