Re: how to check if a slave zone is expired

2011-06-04 Thread Warren Kumari
And I finally gotten enough cycles to write a script to do this and released it on Google Code ( https://code.google.com/p/dns-slave-expire-checker/ ). It is very simple, but if folk find it useful I can add additional functionality... It is a simple Python program: ./dns_expire_checker.py -r

Re: how to check if a slave zone is expired

2011-05-08 Thread Barry Finkel
I review the BIND syslogs on my servers daily. The syslog will tell me if any slave is having problems loading a zone. I expect that the hostmasters at my off-site slaves do the same. If I slave a zone for someone else, and I see problems, I contact the owner of that zone. --

Re: how to check if a slave zone is expired

2011-05-06 Thread Warren Kumari
On May 6, 2011, at 11:16 AM, John Wobus wrote: > I try to catch zones that are not updating on the slaves > to which I have access. I compare the modtime of the zone > file with the current time and the refresh interval > for the zone. Typically I allow a failure or two > before alerting, e.g.

Re: how to check if a slave zone is expired

2011-05-06 Thread John Wobus
I try to catch zones that are not updating on the slaves to which I have access. I compare the modtime of the zone file with the current time and the refresh interval for the zone. Typically I allow a failure or two before alerting, e.g. wait 1 refresh + 2 retry intervals. If the expire interval

Re: how to check if a slave zone is expired

2011-05-05 Thread Doug Barton
On 05/05/2011 04:35, Chris Thompson wrote: On May 4 2011, Doug Barton wrote: On 05/04/2011 01:22, hugo hugoo wrote: So..no way to check that a zone is expired? You're asking the wrong question. The correct question is, "How can I make sure that a zone is up to date on all of the slaves?" You

Re: how to check if a slave zone is expired

2011-05-05 Thread Chris Thompson
On May 4 2011, Doug Barton wrote: On 05/04/2011 01:22, hugo hugoo wrote: So..no way to check that a zone is expired? You're asking the wrong question. The correct question is, "How can I make sure that a zone is up to date on all of the slaves?" You do that by querying the SOA record for th

Re: how to check if a slave zone is expired

2011-05-05 Thread John Bond
On 5/4/11 10:22 AM, hugo hugoo wrote: > > So..no way to check that a zone is expired? Hello Hugo, I recently wrote a small script which mails me about any zones that is due to expire within the next 24 hours. This works by using the last change time of the file on disk and the SOA expiry time

Re: how to check if a slave zone is expired

2011-05-04 Thread Jeff Pang
2011/5/5 Doug Barton : > On 05/04/2011 01:22, hugo hugoo wrote: >> >> So..no way to check that a zone is expired? > > You're asking the wrong question. The correct question is, "How can I make > sure that a zone is up to date on all of the slaves?" You do that by > querying the SOA record for the z

Re: how to check if a slave zone is expired

2011-05-04 Thread Doug Barton
On 05/04/2011 01:22, hugo hugoo wrote: So..no way to check that a zone is expired? You're asking the wrong question. The correct question is, "How can I make sure that a zone is up to date on all of the slaves?" You do that by querying the SOA record for the zone on each slave and compare the

RE: how to check if a slave zone is expired

2011-05-04 Thread hugo hugoo
a...@eurid.eu To: hugo...@hotmail.com; bind-users@lists.isc.org Subject: RE: how to check if a slave zone is expired Date: Wed, 4 May 2011 09:58:22 +0200 Hugo, “zones” don’t “expire”, like DNSSEC RRSIG with their “end of validity time stamp”. At worst, a slave name server is unable to verif

RE: how to check if a slave zone is expired

2011-05-04 Thread Marc Lampo
) signal this (Bind does). Hope this helps. Kind regards, Marc Lampo Security Officer EURid vzw/asbl From: hugo hugoo [mailto:hugo...@hotmail.com] Sent: 04 May 2011 09:56 AM To: marc.la...@eurid.eu; bind-users@lists.isc.org Subject: RE: how to check if a slave zone is expired Marc

RE: how to check if a slave zone is expired

2011-05-04 Thread hugo hugoo
Marc, This example was maybe not the best one. My questions remains as other zones are well unavailable on all name servers. Regards, Hugo, From: marc.la...@eurid.eu To: hugo...@hotmail.com; bind-users@lists.isc.org Subject: RE: how to check if a slave zone is expired Date: Wed, 4 May

RE: how to check if a slave zone is expired

2011-05-04 Thread Marc Lampo
Hugo, This must be a configuration error on "ns2.skynet.be." The other 3 authoritative name servers answer fine, for omega-pharma.be; ns2.skynet.be. returns the list of root name servers, meaning it isn't configured to be slave for that domain. Contact Skynet/Belgacom helpdesk to get this

Re: how to check if a slave zone is expired

2011-05-04 Thread Chris Buxton
Method 1: Compare the timestamp on the slave zone file with the system's current date. Compare that difference with the expire timer in the SOA record in the same zone file. If the difference is greater than the expire timer, then the zone is expired. Method 2: Check the logs. Chris Buxton Blu