Speed up browsing with pdnsd

Discussion in 'all things UNIX' started by linuxforall, Mar 31, 2010.

Thread Status:
Not open for further replies.
  1. linuxforall

    linuxforall Registered Member

    Joined:
    Feb 6, 2010
    Posts:
    2,136
    Apart from using Namebench to find out your fastest DNS servers, if you are traveling frequently or have slow browsing due to dns issue in general, try PDNSD which is a recursive caching dns server in Linux much like the famous Treewalk in Windows world.

    Thanks to Jonthysell, here is an excellent and easy way to install and run pdnsd in Ubuntu.



    sudo cp /etc/resolv.conf /etc/resolv.conf.bak
    sudo apt-get install resolvconf
    sudo apt-get install pdnsd

    choose resolvconf then

    sudo mv /etc/resolv.conf.bak /etc/resolvconf/run/interface/eth0
    sudo resolvconf -u

    For a wireless config (where you're connecting to different networks), or if you just want to use say, OpenDNS for all of your interfaces all the time, just create a file /etc/resolvconf/run/interface/opendns with the following:

    nameserver 208.67.222.222
    nameserver 208.67.220.220

    then do sudo resolvconf -u

    Enjoy speedier browsing with Ubuntu.
     
Loading...
Thread Status:
Not open for further replies.