| 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 |
Jarod,
I modify the named.conf as your comment. Do I need to add any zone or that's it.
Thanks.
Dave
*****************
// 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;
192.168.5.101;
};
forward first;
forwarders{
4.4.4.4; //ISP DNS
5.5.5.5; // ISP DNS
};
};
zone "." IN {
type hint;
file "/etc/db.cache";
};
include "/etc/rndc.key";
--- On Mon, 7/27/09, Jarod Wilson <jarod-ajLrJawYSntWk0Htik3J/w at public.gmane.org> wrote:
> From: Jarod Wilson <jarod-ajLrJawYSntWk0Htik3J/w at public.gmane.org>
> Subject: Re: cache dns
> To: "L-blu Unix" <discuss-mNDKBlG2WHs at public.gmane.org>
> Date: Monday, July 27, 2009, 10:18 AM
> 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
>
>
>
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
>