yes the point of dns is that you don't need much in /etc/hosts the internet used to be run by /etc/hosts, but it naturally became unweildy and hence dns.
Imagine downloading a new etc/hosts with every host on the net in it..... On Mon, 12 Apr 2004 22:55, Paul William wrote: > Hi Michael, > > It didn't occur to me. It would be a pain to maintain a list of domains > - every time the site appeared to go down you would have check that the > IP address didn't change. > > Cheers > > Paul > > Michael wrote: > > Hi Paul, > > > > Just out of interest, why wouldn't an entry in /etc/hosts sufficed? > > > > Michael. > > > > At 02:14 p.m. 12/04/2004 +1200, you wrote: > >> 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