On 08.02.2016 14:58, Tony Finch wrote: > Klaus Darilion <klaus.mailingli...@pernau.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. regards Klaus _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users