From: Pieter Lexis Date: Tue, 12 Jul 2016 13:09:34 +0000 (+0200) Subject: Skip a level when a CNAME is found for the name X-Git-Tag: auth-4.0.1~39^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19d1e7b17da9cd86959bdd12d8ff0a5296300d2a;p=pdns Skip a level when a CNAME is found for the name If we'd encounter a CNAME when chasing for DS/DNSKEY, we followed it and concluded that the domain was bogus. We now skip this level and try to get a DS record for the next name. I'm unsure this is the correct solution, but it fixes #4158 --- diff --git a/pdns/validate.cc b/pdns/validate.cc index 8d9571ee9..bb90f41dd 100644 --- a/pdns/validate.cc +++ b/pdns/validate.cc @@ -381,7 +381,11 @@ vState getKeysFor(DNSRecordOracle& dro, const DNSName& zone, keyset_t &keyset) for(const auto& v : validrrsets) { LOG("Do have: "<getZoneRepresentation()<(r);