Re: shorten cache ttl?

This is a discussion on Re: shorten cache ttl? within the Bind Users forums, part of the DNS and Related Forums category; Marten Lehmann <lehmann@cnm.de> wrote: > Hello, >> max-ncache-ttl > I couldn't try ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-01-2004
phn@icke-reklam.ipsec.nu
 
Posts: n/a
Default Re: shorten cache ttl?

Marten Lehmann <lehmann@cnm.de> wrote:
> Hello,


>> max-ncache-ttl


> I couldn't try this yet.


>> max-cache-ttl
>>
>> max-cache-ttl sets the maximum time for which the server will cache ordinary
>> (positive) answers. The default is one week (7 days).


> This doesn't seem to work. In the BIND cache, there's a record that is
> at least 2 days old. I set max-cache-ttl to 86400 and restarted BIND,
> but the record still appeared, BIND didn't look for new records. Same
> when I set max-cache-ttl to 0. Are existing records in the cache treated
> different than new records? How can I clear the BIND cache? Another
> caching nameserver running djbdns already knows about the new records.


Doesn'y apply, "max-cache-ttl" is about existing records.

Try "max-ncache-ttl" which according to the documentation :
"To reduce network traffic and increase performance the server stores negative answers. max-ncache-ttl is used to set a maximum retention time for these answers in the server in seconds. The default max-ncache-ttl is 10800 seconds (3 hours). max-ncache-ttl cannot exceed 7 days and will be silently truncated to 7 days if set to a greater value."

> Regards
> Marten



--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0