In article <[email protected]>,
sumsum 2000 <[email protected]> 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
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users