rndc flush and TTL values
Barry Margolin
barmar at alum.mit.edu
Thu Aug 22 11:41:23 UTC 2013
In article <mailman.1138.1377164540.20661.bind-users at lists.isc.org>,
sumsum 2000 <sum2hike at gmail.com> wrote:
> This is my configuration for positive and negative cache TTL.
>
> view "newDNS" IN {
> max-cache-ttl 300;
> max-ncache-ttl 200;
>
> zone "makemytrip.com" IN {
> type forward;
> forwarders {192.168.215.101;};
> forward only;
> };
>
> When I run dig abc.com for the first time, the TTL shows 135 and when I
> rndc flush, i expect the TTL to start again afresh, without the knowledge
> of the previous query, but i get a TTL say 133 and further queries followed
> by rndc flush gives the reduced TTL values.
>
> rndc flush, flushes the cache, but the TTL is not reset. Is this the
> expected behavior.
> Thanks
> S
Do you use forwarders for other zones beside makemytrip.com? If you
forward to a caching server, you'll get their TTLs when you re-query
afte flushing, not the TTLs from the authoritative servers.
--
Barry Margolin
Arlington, MA
More information about the bind-users
mailing list