* above loop).
*
* Check if the aaaa/a list are subdomains under the
- * NS domains or equal to the ns domains (and not at zone apex)
+ * NS domains.
* If yes -> glue, if no -> not glue
*/
a = ldns_rr_list_rr(addr, j);
dname_a = ldns_rr_owner(a);
- if (ldns_dname_is_subdomain(dname_a, ns_owner) ||
- ldns_rdf_compare(dname_ns, dname_a) == 0) {
+ if (ldns_dname_is_subdomain(dname_a, ns_owner)) {
/* GLUE! */
if (glue_rrs) {
if (!ldns_rr_list_push_rr(glue_rrs, a)) goto memory_error;
* above loop).
*
* Check if the aaaa/a list are subdomains under the
- * NS domains. If yes -> glue, if no -> not glue
+ * NS domains.
+ * If yes -> glue, if no -> not glue
*/
ldns_rr_list *zone_cuts;
for(j = 0; j < ldns_rr_list_rr_count(addr); j++) {
a = ldns_rr_list_rr(addr, j);
dname_a = ldns_rr_owner(a);
-
- if (ldns_dname_is_subdomain(dname_a, ns_owner) ||
- ldns_rdf_compare(dname_ns, dname_a) == 0) {
+
+ if (ldns_dname_is_subdomain(dname_a, ns_owner)) {
/* GLUE! */
if (!ldns_rr_list_push_rr(glue, a)) goto memory_error;
}