... functionality from iterator: don't fail immediately if actual number
of labels in owner name exceeds number in label field of RRSIG rrset
Knot Resolver 1.3.3 (2017-0_-__)
================================
+Bugfixes
+--------
+- iterate: skip RRSIGs with bad label count instead of immediate SERVFAIL
+
Improvements
------------
- policy: implement remaining special-use domain names from RFC6761 (#205),
if (rr->type == KNOT_RRTYPE_RRSIG) {
int rrsig_labels = knot_rrsig_labels(&rr->rrs, 0);
if (rrsig_labels > cname_labels) {
- return KR_STATE_FAIL;
+ /* clearly wrong RRSIG, don't pick it.
+ * don't fail immediately,
+ * let validator work. */
+ continue;
}
if (rrsig_labels < cname_labels) {
query->flags |= QUERY_DNSSEC_WEXPAND;