Xubuntu issue in /etc/resolv.conf file

The problem when you seemingly configured all right and Google’s DNS resolvers are good:


But system still shows wrong information

Install resolvconf if needed

sudo apt-get install resolvconf -y

You need to disable systemd-resolved to get rid of from your /etc/resolv.conf file

sudo systemctl disable systemd-resolved

Then update /etc/resolvconf/resolv.conf.d/base to reflect correct resolvers:

sudo vi /etc/resolvconf/resolv.conf.d/base

Than run next command to update /etc/resolv.conf file

sudo resolvconf -u

And recheck your /etc/resolv.conf file

cat /etc/resolv.conf

Should be good now

PS. If this doesn’t work then try to reboot your machine and re-run

sudo resolvconf -u



Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *