[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4067 - trunk/OpenDNSSEC/signer/src/signer

Matthijs Mekking matthijs at nlnetlabs.nl
Wed Oct 6 17:58:00 CEST 2010


Author: matthijs
Date: 2010-10-06 17:58:00 +0200 (Wed, 06 Oct 2010)
New Revision: 4067

Modified:
   trunk/OpenDNSSEC/signer/src/signer/domain.c
Log:
signing: skip glue at the same owner name as the delegation



Modified: trunk/OpenDNSSEC/signer/src/signer/domain.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-10-06 15:17:02 UTC (rev 4066)
+++ trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-10-06 15:58:00 UTC (rev 4067)
@@ -688,6 +688,14 @@
             node = ldns_rbtree_next(node);
             continue;
         }
+        /* skip glue at the delegation */
+        if ((domain->domain_status == DOMAIN_STATUS_DS ||
+             domain->domain_status == DOMAIN_STATUS_NS) &&
+            (rrset->rr_type == LDNS_RR_TYPE_A ||
+             rrset->rr_type == LDNS_RR_TYPE_AAAA)) {
+            node = ldns_rbtree_next(node);
+            continue;
+        }
 
         if (rrset->rr_type == LDNS_RR_TYPE_SOA && rrset->rrs &&
             rrset->rrs->rr) {




More information about the Opendnssec-commits mailing list