> From: "Leonard den Ottolander" <[EMAIL PROTECTED]> > > Hi Julian, > > > My question should have been:- how does the machine running bind satisfy > > DNS requests from OTHER machines on local (private) network if it doesn't look > > at hosts ? > > It looks at the zone files in /var/named, or queries another name server.
This long thread has prompted me to set up a caching DNS server (I think it works). About all I changed from a stock Red Hat 7.2 system was part of /etc/named.conf so that it now looks like (where XXX.XXX.XXX.XXX are my ISP's 2 DNS servers) options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; forward first; forwarders { XXX.XXX.XXX.XXX; XXX.XXX.XXX.XXX; }; }; ----------------------------------------------------------------- I then put the IP number of my local machine in /etc/resolv.conf (and the /etc/resolv.conf of the other machines on my local network) and started named. That appears to me all that is necessary - correct? I think it's working since the second time I run 'host some.name.com', the light for the router machine on my switch does not blink so it appears to be getting it from the machine running the caching DNS. My question now is, where does the cache of DNS names reside and how is there a limit on how big it will get? Is it in memory or on the disk? And of course, if I did something wrong, please let me know :-) I guess the next step is to make it handle the names of my local network, but since I only have 4 machines (plus the router running Coyote Linux), keeping a /etc/hosts file on each machine is not very difficult Thanks, Dave _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list