Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cache dns



On Jul 27, 2009, at 1:53 PM, Dave Peters wrote:

> I modify the named.conf as your comment. Do I need to add any zone  
> or that's it.

Only if you have local zones you need to serve up. Otherwise, you  
should be all set.


> --- 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 "/var/named";
>>>         dump-file
>> "/var/named/data/cache_dump.db";
>>>         statistics-file
>> "/var/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









BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org