shorten cache ttl?
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Thu Jul 1 13:36:46 UTC 2004
Marten Lehmann <lehmann at 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.
More information about the bind-users
mailing list