Re: How to check slave zone freshness

2016-02-10 Thread Klaus Darilion
On 10.02.2016 09:27, Klaus Darilion wrote: > > > On 08.02.2016 14:58, Tony Finch wrote: >> Klaus Darilion 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

Re: How to check slave zone freshness

2016-02-10 Thread Klaus Darilion
On 08.02.2016 14:58, Tony Finch wrote: > Klaus Darilion 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 whic

Re: How to check slave zone freshness

2016-02-09 Thread Mark Andrews
In message , Barry Margolin writes: > In article , > Klaus Darilion wrote: > > > On 08.02.2016 20:49, Mark Andrews wrote: > > > With a modern nameserver that supports the expire edns option you can > > > also do "dig +expire soa zone @server" which will tell you how long > > > until the zone w

Re: How to check slave zone freshness

2016-02-09 Thread Barry Margolin
In article , Klaus Darilion wrote: > On 08.02.2016 20:49, Mark Andrews wrote: > > With a modern nameserver that supports the expire edns option you can > > also do "dig +expire soa zone @server" which will tell you how long > > until the zone will expire on this server. > > Aha, but isn't this

Re: How to check slave zone freshness

2016-02-09 Thread Klaus Darilion
On 08.02.2016 20:49, Mark Andrews wrote: > With a modern nameserver that supports the expire edns option you can > also do "dig +expire soa zone @server" which will tell you how long > until the zone will expire on this server. Aha, but isn't this a different kind of information? A zone which is

Re: How to check slave zone freshness

2016-02-09 Thread Tony Finch
Mark Andrews wrote: > > With a modern nameserver that supports the expire edns option you can > also do "dig +expire soa zone @server" which will tell you how long > until the zone will expire on this server. By "modern", Mark means BIND 9.10 or later :-) Tony. -- f.anthony.n.finchhttp://do

Re: How to check slave zone freshness

2016-02-08 Thread Mark Andrews
With a modern nameserver that supports the expire edns option you can also do "dig +expire soa zone @server" which will tell you how long until the zone will expire on this server. e.g. ;; BADCOOKIE, retrying. ; <<>> DiG 9.11.0pre-alpha <<>> +expire soa . +norec +noauth ;; global options: +cmd

Re: How to check slave zone freshness

2016-02-08 Thread Warren Kumari
There is also transfer logs -- you could watch those and see if you are getting any failures, but this seem, um, more brittle.. W On Mon, Feb 8, 2016 at 6:22 AM Klaus Darilion wrote: > > > Am 08.02.2016 um 14:59 schrieb Warren Kumari: > > The standard, compatible way to do this is simply to do

Re: How to check slave zone freshness

2016-02-08 Thread Klaus Darilion
Am 08.02.2016 um 14:58 schrieb Tony Finch: > Klaus Darilion 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`. Ah. Nice, as updating to 9.

Re: How to check slave zone freshness

2016-02-08 Thread Klaus Darilion
Am 08.02.2016 um 14:59 schrieb Warren Kumari: > The standard, compatible way to do this is simply to do a lookup for the > SOA record and make sure that the serial number matches what you expect > it to be / what is on the master. I'm not sure what monitoring tool you > are using (or if you are w

Re: How to check slave zone freshness

2016-02-08 Thread Warren Kumari
The standard, compatible way to do this is simply to do a lookup for the SOA record and make sure that the serial number matches what you expect it to be / what is on the master. I'm not sure what monitoring tool you are using (or if you are writing your own), but most standard monitoring tools hav

Re: How to check slave zone freshness

2016-02-08 Thread Tony Finch
Klaus Darilion 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

How to check slave zone freshness

2016-02-08 Thread Klaus Darilion
Hi! I want to monitor the freshness of my slaves zones. Is it somehow possible to extract the status of slave-zones from bind? Thanks Klaus ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mai