Make your DNS Static/Permanent in Ubuntu 11.04.How to?

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

Comments

Popular posts from this blog

CiscoWorks Tomcat Servlet Engine service does not start , Windows Version

CCTV NetSurveillance Active X Control-Solution