How to check slave zone freshness

Klaus Darilion klaus.mailinglists at
Wed Feb 10 08:27:13 UTC 2016

On 08.02.2016 14:58, Tony Finch wrote:
> Klaus Darilion <klaus.mailinglists at> wrote:
>> I want to monitor the freshness of my slaves zones. Is it somehow
>> possible to extract the status of slave-zones from bind?
> If you are running 9.10 or later you can use `rndc zonestatus`.
> I have an older script which just looks at the timestamp of the zone
> files; BIND bumps the timestamp whenever it successfully refreshes the
> zone, even if it didn't need to transfer any changes.

This does not work as expected. When bind checks the SOA on the master
and detects a bigger serial, it tries to transfer the zone. Although the
zone transfer fails, the timestamp gets updated. Thus, the zone looks
fresh, but it isn't.


More information about the bind-users mailing list