| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | About BLU |
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 "/srv/named";
> dump-file "/srv/named/data/cache_dump.db";
> statistics-file "/srv/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