DNS entries stored in
/etc/resolv.conf
are overriden with every boot.There are ways to prevent NetworkManager from overriding the file, altering dhcp hooks, or manually editing /etc/network/interfaces.
A simpler solution would be to add the following line to your
/etc/dhcp/dhclient.conf
prepend domain-name-servers 8.8.8.8,8.8.4.4;
Add the DNS server IPS separated with a comma [,].
No comments:
Post a Comment