DNS Caching Only Config Help
Hi Chaps and Chappettes,
I've had a short period of time recently to learn and implement DNS cache-only in our organisation. Trouble is, according to my tcpdumps, the amount of traffic on port 53 has increased. This is of course the exact opposit of the desired effect. Would y'all mind looking over my config? FYI, the machine is an Exim MTA handling mail traffic. There are 2 internal and 2 external DNS servers as well as this machine. resolv.conf is pointed to local. Stuff I dig appears in the cache dump. I'm not sure if I should have the zone specified as there is no zonefile on this machine, but it did seem to get the internal traffic going again. RHEL 5 2.6.18-128.1.6.el5PAE BIND 9.3.4-10.P1.el5 Many, many thanks for any help. named.conf: Code:
options { Code:
$TTL 345600 |
Hi,
What you have done is a forwarding dns. It always forwards queries to forwarders, even if the response exist in its cache. To setup a caching dns, remove the 2 lines (forward, forwarders) from the global options and add the hint "." zone: Code:
zone "." IN { Code:
dig @a.root-servers.net . ns > root.db Regards |
Thanks for the help bathory.
I just found the named.caching-server.conf file, which has pretty much pointed me in the same direction. Ta. |
All times are GMT -5. The time now is 03:05 AM. |