cache dns
Jarod Wilson
jarod-ajLrJawYSntWk0Htik3J/w at public.gmane.org
Mon Jul 27 10:18:23 EDT 2009
On Jul 27, 2009, at 9:48 AM, Dave Peters wrote:
> All,
>
> I am new to BIND. I would like to make it works as a cache server.
> The details of my named.conf is shown below. What else is to be
> configured or modify in this named.conf?
Assuming you mean to make it a caching dns server for the local area
network, see inline below.
> // Red Hat BIND Configuration Tool
> //
> // Default initial "Caching Only" name server configuration
> //
>
> options {
> directory "/var/named";
> dump-file "/var/named/data/cache_dump.db";
> statistics-file "/var/named/data/named_stats.txt";
listen-on port 53 {
127.0.0.1;
your.lan.ip.here;
};
> forward first;
> forwarders {
> 4.4.4.4; (ISP primary DNS)
> 5.5.5.5; (ISP secondary DNS)
> };
> };
And of course make sure port 53 is open in iptables.
--
Jarod Wilson
jarod-ajLrJawYSntWk0Htik3J/w at public.gmane.org
More information about the Discuss
mailing list