Dynamically Reducing TTL of few selected ResourceRecords

Barry Margolin barmar at alum.mit.edu
Mon Oct 1 01:07:56 UTC 2012


In article <mailman.329.1349051635.11945.bind-users at lists.isc.org>,
 blrmaani <blrmaani at gmail.com> wrote:

> Our development team complains about waiting for an hour for the deleted 
> resource records to disappear from recursive resolver cache.
> 
> I thought of changing the $TTL value to 1 for that zone but realize that its 
> not efficient. 
> 
> Are there any BIND specific options to support this? I know I can have a cron 
> to flush cache of selected records, but a BIND option to support this would 
> be nice..

Each record can have an explicit TTL, e.g.

www 300 IN A 1.2.3.4

sets the TTL of the www record to 300 seconds. $TTL is just the default 
for records with no explicit TTL (which in most zone files is all of 
them).

-- 
Barry Margolin
Arlington, MA



More information about the bind-users mailing list