Easier way out would be to edit /etc/resolv.conf and add your DNS records like this:
nameserver 8.8.8.8
nameserver 8.8.4.4
Then run sudo chattr +i /etc/resolv.conf to stop NetworkManager from overwriting the file.
To normalize back so that the dhcp can overwrite the name server you need to type
sudo chattr -i /etc/resolv.conf
No comments:
Post a Comment