MikeTeo.net

A Software Developer’s Blog (Wanna Email Me?)

I have tried overriding my resolv.conf nameservers with OpenDNS on Fedora Core 9 so that the domain names get resolved faster.

  1. Ensure that your network is able to get a dynamic IP from your ISP’s dhcp server.
  2. Locate your dhclient configuration for your interface. For my machine, the file is /etc/dhclient-eth0.conf.
  3. Then add the following 2 lines to this configuration file.
prepend domain-name-servers 208.67.222.222;
prepend domain-name-servers 208.67.220.220;

Now restarting your NetworkManager, and you should see that the OpenDNS nameservers are prepended before your ISP’s nameservers.

  1. Tim Said,

    Thank you, this allowed Opendns to work properly in my Fedora 10 install :)

Add A Comment