OpenDNS in Ubuntu


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.

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

$ sudo cp /etc/resolv.conf /etc/
$ sudo gedit /etc/dhcp3/dhclient.conf
# append the following line to the document
prepend domain-name-servers,;
# 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.



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) and you’ll see the truth:

    :~$ ping
    PING ( 56(84) bytes of data.
    64 bytes from ( icmp_seq=1 ttl=50 time=64.5 ms

  2. braincrapped says:

    P.S. WP has ‘URLized’ 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: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: