From: Klaus Darilion Date: Tue, 31 Jul 2018 21:09:35 +0000 (+0000) Subject: On incoming NOTIFY load our serial from backend to have it available during slave... X-Git-Tag: auth-4.2.0-alpha1~16^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74259e83d76577a315e512c6e7ff7098c7e24d8d;p=pdns On incoming NOTIFY load our serial from backend to have it available during slave-check. Also log ourserial to ease debugging. --- 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;