Last transfer time?

Mark Andrews marka at isc.org
Fri Dec 3 22:50:18 UTC 2010


In message <20101203163608.GA47405 at 2bithacker.net>, Chip Marshall writes:
> On 03-Dec-2010, Barry Margolin <barmar at alum.mit.edu> sent:
> > In article <mailman.913.1291323587.555.bind-users at lists.isc.org>,
> >  Chris Buxton <chris.p.buxton at gmail.com> wrote:
> > 
> > > On Dec 1, 2010, at 12:46 PM, Chip Marshall wrote:
> > > > Just curious if there's an official and accurate way to
> > > > determine the last sucessful transfer time of a slave zone
> > > > from a BIND server.
> > > 
> > > You can see the last successful refresh, whether it
> > > involved a zone transfer or not, by looking at the
> > > datestamp on the file.
> > 
> > It's unclear whether the OP is trying to determine this on the
> > slave or the master. The above solution works on the slave.
> 
> Yes, it's on the slave. I was kindof hoping it would be in the
> per-zone statistics in the XML statistics-channel, but file mtime
> should be good enough for what I need. Though I might just have
> syslog send the named output to a script that keeps track of last
> transfer and some other useful stats.
> 
> Thanks to everyone for your input.

The mtime is the last time the slave refreshed *or* transfer the
zone.  If you want a definitative time for last transfer you need
to look in the logs.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list