On 28-Aug-07, at 11:02 PM, Dinesh Joshi wrote:
We were discussing DNS caching and the bind configuration. However, bind is a DNS server whereas we only want a DNS cache that updates itself automatically. Maybe I understood it wrong but on the net I found this link for DNS caching. It uses a package called dnsmasq. It works on my system. First time I do dig google.com it takes 42 ms. second time 2 sec.
http://ubuntu.wordpress.com/2006/08/02/local-dns-cache-for-faster- browsing/
Ronny is right. BIND is waay too heavy if you want just a caching DNS server. There are lots of smaller, less resource intensive servers for Linux.
the BIND caching only nameserver comes by default on most distros, and is a one-click install that works out of the box - the only thing you need to do is put 127.0.0.1 in /etc/resolv.conf