Checking for zone expiration?

Barry Margolin barmar at
Mon May 21 19:59:15 UTC 2012

In article <mailman.837.1337627794.63724.bind-users at>,
 Alan Batie <alan at> wrote:

> We had a rather key zone mysteriously expire on a slave this morning -
> the log files show a transfer a couple weeks ago, but it hadn't been
> updated so there was no reason for one since and there were no log
> entries about failed connection attempts.  I was wondering if there's a
> way to check the remaining time on a zone for monitoring?  If you fetch
> the SOA, you get the full ttl, for obvious reasons, not the server's
> timer...

Check the modification time of the zone file on the slave server, that's 
when it was last refreshed.

Barry Margolin
Arlington, MA

More information about the bind-users mailing list