[Pdns-users] powerdns 3.0 notify not logged

Peter van Dijk peter.van.dijk at netherlabs.nl
Fri Jan 6 09:38:28 UTC 2012


Hello Mike,

how about this patch?

diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc
index d3bf22b..f87c8d9 100644
--- a/pdns/packethandler.cc
+++ b/pdns/packethandler.cc
@@ -873,6 +873,7 @@ int PacketHandler::processNotify(DNSPacket *p)
   }
     
   // ok, we've done our checks
+  L<<Logger::Notice<<"Received valid NOTIFY for "<<p->qdomain<<" (current serial "<<di.serial<<") from "<<p->getRemote()<<endl;
   Communicator.addSlaveCheckRequest(di, p->d_remote);
   return 0;
 }


Kind regards,
Peter van Dijk


More information about the Pdns-users mailing list