rndc flush and TTL values

Barry Margolin barmar at alum.mit.edu
Thu Aug 22 13:21:26 UTC 2013


In article <mailman.1147.1377175530.20661.bind-users at lists.isc.org>,
 sumsum 2000 <sum2hike at gmail.com> wrote:

> Yes, i do have other zones beside makemytrip.com. Thanks for the info

In particular, do you use forwarders for abc.com, and are you forwarding 
to a caching server?

> 
> 
> On Thu, Aug 22, 2013 at 5:11 PM, Barry Margolin <barmar at alum.mit.edu> wrote:
> 
> > 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
> > _______________________________________________
> > Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> > unsubscribe from this list
> >
> > bind-users mailing list
> > bind-users at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/bind-users
> >

-- 
Barry Margolin
Arlington, MA


More information about the bind-users mailing list