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

 
 

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

Submitter:  Stephane Bortzmeyer <bortzmeyer>
Submitted:  Sat 10 Apr 2004 12:58:33 PM UTC
   
 
Category:  * tests Severity:  High
Priority:  5 - Normal Item Group:  * Feature request
Status:  Confirmed Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-13 bortzmeyer StatusNone Confirmed
    2004-04-10 bortzmeyer Attached File- Added test-serial.py, #1179

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code