I have tried overriding my resolv.conf nameservers with OpenDNS on Fedora Core 9 so that the domain names get resolved faster.
- Ensure that your network is able to get a dynamic IP from your ISP’s dhcp server.
- Locate your dhclient configuration for your interface. For my machine, the file is /etc/dhclient-eth0.conf.
- 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.