On Fri, Feb 19, 2021 at 01:04:06PM +0000, Mark Rogers wrote:
On Fri, 19 Feb 2021 at 12:44, Mark Rogers mark@more-solutions.co.uk wrote:
If I look at the contents of /run/systemd/resolve/resolv.conf, it has no DNS settings in it, just a comment saying "No DNS servers known". I assume that this is the root of my issues but it gives me somewhere new to go digging.
Fixed it.
Adding my DNS to /etc/systemd/resolved.conf and restarting systemd-resolved fixed it.
I found the clues here: https://askubuntu.com/questions/1292650/resolv-conf-no-dns-servers-known
No idea what caused it to break but for now I'm happy just to have a working system!
The only place I have my DNS server's IP set on my systems is in the Network Manager configuration, and that only on ones with static IP.
E.g. on my desktop (no WiFi), it's in /etc/NetworkManager/system-connections/Wired connection 1.nmconnection
[ipv4] address1=192.168.1.3/24,192.168.1.1 dns=192.168.1.2; dns-search=zbmc.eu; method=manual
Otherwise of course the DNS server address is handed out by 192.168.1.2 when systems start up and send DHCP requests.