I will be running a Pi-hole server in a docker container, so I have freed up port 53 by settingDNSStubListener=no
in /etc/systemd/resolved.conf
and restarting systemd-resolved
.
This has freed up port 53, but now DNS doesn't work. I get ;; connection timed out; no servers could be reached
Looking at Network Settings from the desktop, I see 1.1.1.1 and 8.8.8.8 as the DNS servers assigned by DHCP as currently configured, but how do I get my system to use these?
UPDATE1: /etc/resolv.conf has this:
nameserver 127.0.0.53
options edns0 trust-ad
search domain.local
/etc/resolv.conf
say?