Hi guys/girls,

A site I have to visit regularly was taking firefox forever to resolve the host IP so I had to wait quite a while every time I clicked a link on the site. I decided to find a proxy dns server and I found pdnsd (btw, BIND can also do this). It works very nicely and I highly recommend it. A tutorial can be found here:
http://www.linuxgazette.com/issue65/sunil.html



My /etc/pdnsd.conf looks like this (I am on paradise cable):


// $Id: pdnsd.conf.in,v 1.4 2000/11/11 20:32:58 thomas Exp $

global {
        perm_cache=512;
        cache_dir="/var/cache/pdnsd";
        max_ttl=604800;
        run_as="pdnsd";
        paranoid=on;
#       status_ctl=off;
        server_port=53;
        server_ip="192.168.0.1";
}

server {
        ip="203.96.152.4";
        timeout=30;
        interval=30;
        uptest=ping;
        ping_timeout=50;
        purge_cache=off;
}

server {
        ip="203.96.152.12";
        timeout=300;
        interval=30;
        uptest=ping;
        ping_timeout=50;
        purge_cache=off;
}
//end

Don't forget to update /etc/resolv.conf.

Cheers

Paul

Reply via email to