Recently, name resolution failed on Ubuntu 16.04, and I worked around the problem by adding "nameserver 127.0.0.1" to /etc/resolv.conf (which fixed the problem)
I know I should not be manually editing /etc/resolv.conf in 16.04
What package(s) can I reinstall to get DNS resolution back to the pristine state for 16.04?
sudo dpkg-reconfigure resolvconf
to repair symlink between/etc/resolv.conf
and/run/resolvconf/resolv.conf
as recommended in this answer. – N0rbert Aug 04 '18 at 17:34/etc/resolvconf/resolv.conf.d
. I did my permanent DNS server entries in theoriginal
file located in that folder. Then when completed you should runsudo resolvconf -u
to update the/etc/resolv.conf
file. – Terrance Aug 04 '18 at 18:19