shorten cache ttl?
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Thu Jul 1 19:08:40 UTC 2004
Marten Lehmann <lehmann at cnm.de> wrote:
> Hello,
>> 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."
> I was setting both to 0 and restarted BIND (I really stopped BIND
> completely and started it again). The nameservers for .com-delegations
> (e.g. a.gtld-servers.net) respond with the correct NS-records. My
> caching BIND does not.
ttl=0 won't do what you expect. Avoid and go for reasonable balues.
> 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