cache dns

Jarod Wilson jarod-ajLrJawYSntWk0Htik3J/w at public.gmane.org
Mon Jul 27 15:45:04 EDT 2009


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








More information about the Discuss mailing list