[Pdns-users] powerdns 3.0 notify not logged

Mike Hoffs m.hoffs at mijn-sleutel.com
Fri Dec 30 11:12:03 UTC 2011


Ok fixed this one temporary by my self by adding 

 

  else if(db->isMaster(p->qdomain, p->getRemote())) {

    L<<Logger::Error<<"Received NOTIFY for "<<p->qdomain<<" from "<<p->getRemote()<<endl;

    //return RCode::Refused;

  }

 

Under 

 

  else if(!db->isMaster(p->qdomain, p->getRemote())) {

    L<<Logger::Error<<"Received NOTIFY for "<<p->qdomain<<" from "<<p->getRemote()<<" which is not a master"<<endl;

    return RCode::Refused;

  }

 

In file: pdns/packethandler.cc

 

 

Van: pdns-users-bounces at mailman.powerdns.com [mailto:pdns-users-bounces at mailman.powerdns.com] Namens Mike Hoffs
Verzonden: donderdag 29 december 2011 16:10
Aan: pdns-users at mailman.powerdns.com
Onderwerp: [Pdns-users] powerdns 3.0 notify not logged

 

Hi All,

 

I dont know if this should be a bug or a feature:

 

We use powerdns for a long time as slaves, the master are bind servers that notify updates to the powerdns servers. When the bind notify the updated serial, that notify should be loggen in the powerdns log. But since 3.0, whatever i try i cannot get that logging line back. I tried almost every possible option for logging, but that one looks disappeared from logging.

 

Anyone that confirm this one, or knows a solution ?

 

Thanks,

Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20111230/cef8d178/attachment-0001.html>


More information about the Pdns-users mailing list