[Opendnssec-develop] [OpenDNSSEC] #41: "keep" setting for KASP.Policy.Zone.SOA.Serial doesn't seem to work

OpenDNSSEC owner-dnssec-trac at kirei.se
Mon Oct 12 04:37:38 UTC 2009


#41: "keep" setting for KASP.Policy.Zone.SOA.Serial doesn't seem to work
----------------------------------+-----------------------------------------
Reporter:  sebastian at nzrs.net.nz  |       Owner:  matthijs
    Type:  defect                 |      Status:  new     
Priority:  minor                  |   Component:  Signer  
 Version:  trunk                  |    Keywords:          
----------------------------------+-----------------------------------------
 I'm generating a zone to test the signing process and defined to keep the
 serial number. Currently that feature doesn't work. If the output signed
 zone file exists, the serial on that file is used (not the serial from the
 input file). If the output signed zone file doesn't exist, get_serial
 fails and the zone is not signed.

 With this little patch the issue of not honoring the input file serial is
 solved.

 Index: Zone.py
 ===================================================================
 --- Zone.py (revision 2197)
 +++ Zone.py (working copy)
 @@ -664,6 +664,7 @@
                    "for " + self.zone_name)
                  return None
              update_serial = 0
 +            prev_serial = soa_serial
          else:
              syslog.syslog(syslog.LOG_WARNING,
                            "warning: unknown serial type " +\

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/41>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list