From 74259e83d76577a315e512c6e7ff7098c7e24d8d Mon Sep 17 00:00:00 2001 From: Klaus Darilion Date: Tue, 31 Jul 2018 21:09:35 +0000 Subject: [PATCH] On incoming NOTIFY load our serial from backend to have it available during slave-check. Also log ourserial to ease debugging. --- pdns/packethandler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 415e28343..c4ef8914e 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -887,7 +887,7 @@ int PacketHandler::processNotify(DNSPacket *p) // Domain verification // DomainInfo di; - if(!B.getDomainInfo(p->qdomain, di, false) || !di.backend) { + if(!B.getDomainInfo(p->qdomain, di, true) || !di.backend) { if(::arg().mustDo("supermaster")) { g_log<qdomain<<" from "<getRemote()<<" for which we are not authoritative, trying supermaster"<getTSIGKeyname()); @@ -921,7 +921,7 @@ int PacketHandler::processNotify(DNSPacket *p) } if(::arg().mustDo("slave")) { - g_log<qdomain<qdomain<<", our serial is "<d_remote); } return 0; -- 2.40.0