Package: zonecheck
Version: 2.0.4-13

Symptom:
w> The format of the serial number is not YYYYMMDDnn
 | Ref: RFC1912 (p.3)
 |   The recommended syntax is YYYYMMDDnn (YYYY=year, MM=month, DD=day,
 | nn=revision number).
 `----- -- -- - -  -
:   The serial 2010022202 doesn't seem to be in the YYYYMMDDnn format.

Cause:
/usr/share/zonecheck/test/soa.rb, line 100:
return true if (serial > 1999000000) && (serial < 2010000000)

Should of course be
return true if (serial > 1999000000) && (serial < 2012000000)
or something like that.

Torbjörn Wictorin,
Uppsala university

Reply via email to