From: Remi Gacogne Date: Fri, 17 May 2019 13:37:36 +0000 (+0200) Subject: auth: Allow updates to override existing ENT records X-Git-Tag: dnsdist-1.4.0-beta1~30^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72a6f0d8376db1531a94f7f02d538a0970fbb9f6;p=thirdparty%2Fpdns.git auth: Allow updates to override existing ENT records --- diff --git a/pdns/rfc2136handler.cc b/pdns/rfc2136handler.cc index f060a009f0..1797d30808 100644 --- a/pdns/rfc2136handler.cc +++ b/pdns/rfc2136handler.cc @@ -961,7 +961,7 @@ int PacketHandler::processUpdate(DNSPacket *p) { DNSResourceRecord rec; di.backend->lookup(QType(QType::ANY), rr->d_name, nullptr, di.id); while (di.backend->get(rec)) { - if (rec.qtype != QType::CNAME && rec.qtype != QType::RRSIG) { + if (rec.qtype != QType::CNAME && rec.qtype != QType::ENT && rec.qtype != QType::RRSIG) { // leave database handle in a consistent state while (di.backend->get(rec)) ;