Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to use Open DNS solution in my UBUNTU PC. Also I followed the instruction from but it's still saying I am not using Open DNS that means configuration was wrong. But I can't understand what's wrong.

My UBUNTU version: UBUNTU 12.04 LTS

Output of sudo /etc/resolv.conf + Output of sudo vim /etc/dhcp/dhclient.conf + output of sudo ifconfig can be found here:

It would be great if anyone can see my problem and suggest me to do right things.

share|improve this question

Here's how you can do it:

First, open up the network applet menu, and all the way at the bottom, select "Edit Connections", like below:

enter image description here

Now, switch to the wireless (or wired, as the case may be) tab, and select your network connection from the list, and then click the "Edit" button.

enter image description here

Now, switch to the IPv4 tab.

enter image description here

Use the second item on the "Method" menu - change it to DHCP Addresses only.

enter image description here

Then, first enter in the DNS servers:,, and then click "Save".

enter image description here

Now, you should be using OpenDNS. If for some reason it doesn't work, go ahead and restart your computer - the changes should then take affect.

share|improve this answer
Thank you very much @jrg. – Shaharia Azam Aug 19 '13 at 19:21
Thanks so much :) – SGhosh Jan 7 '15 at 6:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.