[Pdns-users] powerdns 3.0 notify not logged

Mike Hoffs m.hoffs at mijn-sleutel.com
Fri Jan 6 09:41:21 UTC 2012


Hi Peter,

Will try that asap, thanks so far.

Can we expect this one in new updates ?


Met een vriendelijke groet,   

----
Mike Hoffs

-----Oorspronkelijk bericht-----
Van: pdns-users-bounces at mailman.powerdns.com [mailto:pdns-users-bounces at mailman.powerdns.com] Namens Peter van Dijk
Verzonden: vrijdag 6 januari 2012 10:38
Aan: pdns-users Users
Onderwerp: Re: [Pdns-users] powerdns 3.0 notify not logged

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
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users




More information about the Pdns-users mailing list