Xubuntu 127.0.0.53 issue in /etc/resolv.conf file


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

nameserver 8.8.8.8
nameserver 8.8.4.4

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 127.0.0.53 from your /etc/resolv.confRead the rest

Xubuntu /etc/resolv.conf file resets after reboot

To add your nameserver either add the following line to your /etc/network/interfaces file

sudo vi /etc/network/interfaces

dns-nameservers 8.8.8.8, 8.8.4.4

or update the following file with content that you want to see in /etc/resolv.conf file

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

nameserver 8.8.8.8
nameserver 8.8.4.4

Than run next command to update /etc/resolv.conf… Read the rest