OpenDNS in Ubuntu

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

Advertisements

About Tanveer
RIA (Rich Internet Application) Developer with a wide variety of business applications. Particularly interested in client/server and relational database design. Always interested in migration projects, as well as close interaction with the DB manufacturers.

3 Responses to OpenDNS in Ubuntu

  1. braincrapped says:

    I do use OpenDNS too but there are some ‘features’ that you’ve to know and, probably, change in your OpenDNS config panel.

    For instance, try to ping (or dig) http://www.google.com and you’ll see the truth:

    :~$ ping http://www.google.com
    PING google.navigation.opendns.com (208.69.34.230) 56(84) bytes of data.
    64 bytes from google.navigation.opendns.com (208.69.34.230): icmp_seq=1 ttl=50 time=64.5 ms

  2. braincrapped says:

    P.S. WP has ‘URLized’ google.com with an extra http wich it isn’t necesary to ping or dig.

  3. neeocis says:

    oh! thats right!!
    thanks for your information… 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: