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

Matthijs Mekking matthijs at nlnetlabs.nl
Fri Oct 15 14:08:29 CEST 2010


Author: matthijs
Date: 2010-10-15 14:08:29 +0200 (Fri, 15 Oct 2010)
New Revision: 4119

Modified:
   trunk/OpenDNSSEC/signer/src/signer/domain.c
Log:
also check for dname at ns rdata if glue is at the delegation (not only below)



Modified: trunk/OpenDNSSEC/signer/src/signer/domain.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-10-15 11:55:15 UTC (rev 4118)
+++ trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-10-15 12:08:29 UTC (rev 4119)
@@ -400,7 +400,14 @@
                 rrset_count_RR(rrset) > 0) {
                 /* found occluded data next to delegation */
                 return 1;
+            } else if (rrset->rr_type == LDNS_RR_TYPE_A ||
+                rrset->rr_type == LDNS_RR_TYPE_AAAA) {
+                /* check if glue is allowed at the delegation */
+                if (rrset_examine_ns_rdata(rrset, domain->name) != 0) {
+                    return 1;
+                }
             }
+
             node = ldns_rbtree_next(node);
         }
     }




More information about the Opendnssec-commits mailing list