bind9 cache

Barry Margolin barmar at alum.mit.edu
Sat Dec 4 21:45:56 UTC 2010


In article <mailman.927.1291478928.555.bind-users at lists.isc.org>,
 Benny Pedersen <me at junc.org> wrote:

> i like to have bind cache in 43200 secs for any zone and update only  
> if soa changes in that time, how do i configure named.conf to do this ?
> 
> negative cache i like to have as the zone says in ttl, so just 43200  
> on positive

You can't.  You can configure a max cache time, but not a minimum.

Why do you think this is a good idea?  With your method, it would have 
to do two queries whenever a record's TTL has expired: first check the 
SOA to see if it has changed, then query the record.  The standard 
algorithm just queries for the record you want.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list