Networking Forums

Networking Forums > Computer Networking > Linux Networking > local dns server

Reply
Thread Tools Display Modes

local dns server

 
 
Dan Keeley
Guest
Posts: n/a

 
      08-18-2003, 08:44 PM
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?

Thanks for any suggestions/help!!

Cheers,
Dam


 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      08-19-2003, 01:48 AM
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/
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing subversion repository server through local vpn server Thomas Taranowski Linux Networking 0 10-31-2007 03:13 AM
Why do I have to direct to local smtp server? Erick Windows Networking 7 06-26-2006 06:48 PM
Local Server Billy Wireless Internet 3 03-06-2006 10:52 PM
cannot local login ssh server using router ip. ckpun1978@gmail.com Linux Networking 7 10-21-2005 07:06 AM
Cannot contact local SUS-Server Jacob van Iwaarden Windows Networking 3 10-31-2004 06:47 PM



1 2 3 4 5 6 7 8 9 10 11