On Mon, 18 Aug 2003 21:44:20 +0100, Dan Keeley <(E-Mail Removed)> wrote:
> Hi,
>
> I'm currently using my rh 9 linux box as a router/firewall/network server
> etc... I'm wondering about making it run a DNS Server, the idea being it'll
> cache my dns queries, so for pages i visit often it wont have to go to my
> isp's dns. (Reason being that my isp's dns is down at the moment so it would
> protect me from that yes? )
>
> How do i do that?
Install the caching nameserver package (if you have a choice, use bind9
rather than bind8). Set named.conf to only listen-on and allow-query for
loopback and local IP ranges to minimize public exposure if any bind
exploits develop:
listen-on port 53 { 127/8; 192.168/16; };
allow-query { 127/8; 192.168/16; };
Then read the DNS howto and try to set up forward and reverse zones for
your LAN using zone files for localhost and 0.0.127.in-addr.arpa as
examples in case something is slightly different.
Either put notify no; in your main options {}; section, or where you
specify any private zone files in named.conf.
--
David Efflandt - All spam ignored
http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/