Basic DNS Cache Server

SwtDivaLove colonel_angel2004 at yahoo.com
Wed Aug 2 16:18:06 UTC 2006


Gregory Hicks wrote:
> > To: comp-protocols-dns-bind at isc.org
> > From: "SwtDivaLove" <colonel_angel2004 at yahoo.com>
> > Subject: Basic DNS Cache Server
> > Date: 2 Aug 2006 02:15:40 -0700
> >
> > Yes, I know this is probably a very stupid question, but trust me that
> > when I say this that I've been through every possible documentation
> > possible and it still eludes me as to how to set it up properly so
> that
> > it works.
>
> Why don't you post what you HAVE tried (latest version only please) and
> we can take a look and see what is wrong.
>
> Please don't 'sanitize' (except for passwords).  It confuses us and
> makes it much harder to help you.
>
> Regards,
> GRegory Hicks
>
> >
> > I need a step by step walk-through on how to set up at least a DNS
> > Cache Server.
> >
> > Please do no point me to anymore online documents as I've probably
> read
> > them hundreds of times.
> >
> > Yes, I'm asking to be hand-held through the a setup.
> >
> > I'm running Red Hat Fedora Core 5.
> >
> > So, if anyone truly wants to help me set one up, I would be greatly
> > appreciative.
> >
> > SwtDivaLove
> >
> >
>
> ---------------------------------------------------------------------
> I am perfectly capable of learning from my mistakes.  I will surely
> learn a great deal today.
>
> "A democracy is a sheep and two wolves deciding on what to have for
> lunch.  Freedom is a well armed sheep contesting the results of the
> decision." - Benjamin Franklin
>
> "The best we can hope for concerning the people at large is that they
> be properly armed." --Alexander Hamilton

Since my upgrade from Mandrake 9 to RH FC 5, I've not attempted to get
this to work yet.

Here's the conf file...  Not sure what else I need to add?
_________________________________________________________________________

/
// named.conf for Red Hat caching-nameserver
//

options {
	directory "/var/named";
	dump-file "/var/named/data/cache_dump.db";
	statistics-file "/var/named/data/named_stats.txt";
	/*
	 * 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;
};

//
// a caching only nameserver config
//
controls {
	inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
	type hint;
	file "named.ca";
};

zone "localdomain" IN {
	type master;
	file "localdomain.zone";
	allow-update { none; };
};

zone "localhost" IN {
	type master;
	file "localhost.zone";
	allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "named.local";
	allow-update { none; };
};

zone
"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa"
IN {
	type master;
	file "named.ip6.local";
	allow-update { none; };
};

zone "255.in-addr.arpa" IN {
	type master;
	file "named.broadcast";
	allow-update { none; };
};

zone "0.in-addr.arpa" IN {
	type master;
	file "named.zero";
	allow-update { none; };
};

include "/etc/rndc.key";
_________________________________________________________________________



More information about the bind-users mailing list