I have been trying to change my dns to 8.8.8.8
8.8.4.4
but don't seem to be able to do it.
In /etc/resolv.conf
I have
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
In /etc/resolvconf/resolv.conf.d/base
I added
nameserver 8.8.8.8
nameserver 8.8.4.4
and reloaded with sudo resolvconf -u
but nothing changes in /etc/resolv.conf
If I misspell something in /etc/resolvconf/resolv.conf.d/base
for example adding ameserver 8.8.8.8
and reloading cat /etc/resolv.conf
now shows.
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
ameserver 8.8.8.8
What should I be doing to change the dns and how can I check if it has worked?