bugZoneCheck - Bugs: bug #8528, IWBN to test the consistency of...

 
 

bug #8528: IWBN to test the consistency of serial numbers

Submitted by:  Stephane Bortzmeyer <bortzmeyer>
Submitted on:  Sat 10 Apr 2004 12:58:33 PM UTC  
 
Category: testsSeverity: High
Priority: 5 - NormalItem Group: Feature request
Status: ConfirmedPrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 13 Dec 2010 09:21:42 AM UTC, comment #1:

Example of the problem, thanks to examples set up by Mathieu Goessens):

% zonecheck --ns 'ns0.actux.eu.org;ns1.gebura.eu.org' zonecheck-soa.example
ZONE : zonecheck-soa.example
NS <= : ns0.actux.eu.org [86.65.39.6, 2001:470:C8A5:1::1]
NS : ns1.gebura.eu.org [195.88.84.46]
...
==> SUCCESS (but 7 warning(s))

But the serial numbers are not in sync:

% dig +short @ns0.actux.eu.org SOA zonecheck-soa.example
ns0.actux.eu.org. hostmaster.actux.eu.org. 10 3600 3600 604800 86400
% dig +short @ns1.gebura.eu.org SOA zonecheck-soa.example
ns0.actux.eu.org. hostmaster.actux.eu.org. 5 3600 3600 604800 86400

Zones available at http://mars.gebura.eu.org/~geb/zonecheck-soa.example.db and
http://actux.eu.org/~geb/zonecheck-soa.example.db

Stephane Bortzmeyer <bortzmeyer>
Project Administrator
Sat 10 Apr 2004 12:58:33 PM UTC, original submission:

I do not find a way to test what is a quite common failure: a secondary which no longer synchronizes.

chk_soa_coherence_serial only tests that the primary is above every other nameserver but it does not catch the above problem.

I suggest the following algorithm (see the attached Python program):

If the zone uses RFC 1912 format, allows at most N hours of discrepancy between the highest nameserver and any other one. Ideally, N should be defined in the configuration file.

If the zone does not use RFC 1912, allows at most a difference of N between the highest nameserver and any other one.

Stephane Bortzmeyer <bortzmeyer>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bortzmeyer (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 13 Dec 2010 09:21:42 AM UTCbortzmeyerStatusNone=>Confirmed
    Sat 10 Apr 2004 12:58:33 PM UTCbortzmeyerAttached File-=>Added test-serial.py, #1179

    Back to the top


    Powered by Savane 3.1-cleanup1