Tanveer’s Weblog

OpenDNS in Ubuntu

May 4, 2008 · 3 Comments

OpenDNS

It is really imaging to use OpenDNS. It’s free, fast, safe and really worked fine for me. So i would like to note it down here. Hope it would be helpful for someone.

1. Open a terminal window and type the following.

$ sudo network-admin

Note: Root access is required for this step.

2. Change to the DNS tab and enter the following two addresses in the top of the first field labeled DNS Servers.

208.67.222.222
208.67.220.220

To avoid having your settings get revoked after reboots, or after periods of inactivity, do this:

$ sudo cp /etc/resolv.conf /etc/resolv.conf.auto
$ sudo gedit /etc/dhcp3/dhclient.conf
# append the following line to the document
prepend domain-name-servers 208.67.222.222,208.67.220.220;
# save and exit
$ sudo ifdown eth0 && sudo ifup eth0

You may be required to change eth0 to your own network device’s name if it uses a non-standard name.

{ref:}

http://www.opendns.com

Categories: UBUNTU

3 responses so far ↓

Leave a Comment