Monday, May 31, 2010

How to change the dns server…

 

1. Take terminal from Applications -> accessories -> terminal

2. Backup the resolv.conf file in the etc folder of the filesystem

                $ sudo cp /etc/reasolv.conf   /etc/resolv.conf.bak

3. Edit the back up file to change the dns address
                $ sudo gedit /etc/resolv.conf.bak

4. Replace the current domain address specified there with the dns  server address that gave you the minimum average time.

Enter the other address below that in the same format if you wish..(Network manager opt for secondary address if the connection fails)

5. That’s all about making the changes… The data that u have written in the back up file will long till u delete that file manually.

6. Copy back the content of the backup file (resol.conf.bak) to the original

resolv.conf after you connected to the internet whenever you want to change

the address (before starting  browsing)

 
Things You Should Know About Linux !!!