How To Use OpenDNS

STEP 0:
Locate NetworkManager applet on the right side of GNOME panel (or KDE or XFCE or LXDE panel)

Step-1
STEP 1:
Right click on NetworkManager applet and select “Edit Connections …” (this will make “Network Connections” window pop up)

step2

STEP 2:
a. Select the type on the connection you have.
For this example purpose, I will use “Mobile Broadband” type.
So, we select “Mobile Broadband” tab.
b. Highlight the connection name (“apn-internet” for this example”)
c. Press Edit button (this will triger connection editor to show up)

step-2-how-to-use-OpenDNS
STEP 3:
a. Select “IPv4 Settings” tab
b. Set the Method to “Authomatic (PPP) addresses only”
c. Enter 208.67.222.222 and 208.67.220.220 nameserver addresses (separated by comma) to DNS Servers text box
d. Click “Apply” button

step-3-how-to-use-OpenDNS

STEP 4:
Now you are using OpenDNS

NOTE:
If you use wvdial to connect to internet, You have to  insert the OpenDNS nameserver addresses into /etc/resolv.conf file. The contents of /etc/resolv.conf file may look like as follows:

—–BEGIN /etc/resolv.conf——

nameserver 208.67.222.222
nameserver 208.67.220.220

—–END /etc/resolv.conf——-

You also have to append MODIFY_RESOLV_CONF_STATIC_DNS=”208.67.222.222 208.67.220.220″ to /etc/sysconfi/network file, which may look like as follows:

—BEGIN /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=localhost.localdomain
MODIFY_RESOLV_CONF_STATIC_DNS=”208.67.222.222 208.67.220.220″

—END /etc/sysconfig/network

~ by yunustj on May 31, 2009.

Leave a Reply