Posts tagged with dns

Using OpenDNS Nameservers on Fedora 10

November 30th, 2008

I posted a very similar article using Fedora 9 but it seems that things have changed between Fedora 9 and 10.

The old instructions mentioned adding the DNS servers to your /etc/dhclient-eth0.conf file but this file does not even exist on Fedora 10. It turns out that you need to add the lines to /etc/sysconfig/networking/devices/ifcfg-eth0 (change eth0 to the connection you wish to edit) as shown here, my file now looks like this.

# Broadcom Corporation BCM4401 100Base-T
DEVICE=eth1
HWADDR=00:00:00:00:00:00
ONBOOT=no
BOOTPROTO=dhcp
USERCTL=no
PEERDNS=no
IPV6INIT=no
NM_CONTROLLED=yes
TYPE=Ethernet
# add these lines with your DNS servers
DNS1=208.67.222.222
DNS2=208.67.220.220

Rstart your networking to see the changes. If you’re using NetworkManager and right click on the applet to edit the connections you will see that the IPV4 tab now says ‘Automatic (DHCP) addresses only’ with the DNS servers listed in the box below.

Google BookmarksEvernoteGoogle GmailHotmailWordPressLinkedInFacebookDeliciousShare

Switch to our mobile site