Open jclaveau opened 5 years ago
Possible solutions : https://unix.stackexchange.com/questions/304050/how-to-avoid-conflicts-between-dnsmasq-and-systemd-resolved
in /etc/systemd/resolved.conf
DNSStubListener=no
Then
sudo systemd-resolve restart And use dnsmasq as resolver.
Also bind-interfaces
in dnsmasq config could fix this.
sudo netstat -anlp | grep -w LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0: LISTEN 14413/docker-proxy
tcp 0 0 127.0.0.53:53 0.0.0.0: LISTEN 11076/systemd-resol
Glad to bind-interfaces
Sometimes, systemd blocks the port 53 endless (on Ubuntu 19.04 at least).
Short term solution
A long term solution? https://medium.com/@niktrix/getting-rid-of-systemd-resolved-consuming-port-53-605f0234f32f