For some reason, my DNS seems to be set to 127.0.0.53. It's not really a problem, since my local (i.e. on my laptop) DNS seems to redirect DNS requests to the default gateway. But I would like it to not go that way. I suppose I must have installed some DNS server at some time in the past...
When I run $ nslookup, default server is always 127.0.0.53.
I found a post suggesting that I set DNSStubListener=no in /etc/systemd/resolved.conf, but this resulted in no DNS requests coming through. I could of course enter my default gateway manually, but then I would have to change it every time I brought my laptop to work.
Any suggestions?
EDIT: Adding the "hosts" line of /etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns
127.0.0.53. Look at this question on Unix &Linux: https://unix.stackexchange.com/questions/612416/why-does-etc-resolv-conf-point-at-127-0-0-53 – Nmath Apr 24 '21 at 16:08resolvectl status | grep -i "DNS Serve"to see what DNS Servers that you're actually using. – heynnema Apr 24 '21 at 23:29