Fix dns on ubuntu 16.04 - Stack Overflow
https://stackoverflow.com/questions/6655380809.03.2021 · I did something to mess up my DNS on my virtual ubuntu 16.04 box. Can you help me diagnose what the problem is and get DNS working again. I am able to connect to servers using an ip address. However, when I use hostnames, my box can't resolve them. This used to work - I did something to mess it up, but don't remember what file I edited. ubuntu ...
Ubuntu 18.04 .local domain dns lookup not working
askubuntu.com › questions › 1068131Aug 23, 2018 · The real issue is that Ubuntu 18.04 has its resolv.conf sym-linked to a stub file that points to the localhost for name resolution. Localhost DNS name resolution means that the system refuses to check the supplied DNS server for .local names, believing (incorrectly) that such names are invalid. This is the default setup of /etc/resolv.conf: