From 72a6f0d8376db1531a94f7f02d538a0970fbb9f6 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 17 May 2019 15:37:36 +0200 Subject: [PATCH] auth: Allow updates to override existing ENT records --- pdns/rfc2136handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/rfc2136handler.cc b/pdns/rfc2136handler.cc index f060a009f..1797d3080 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)) ; -- 2.40.0