[Pdns-users] powerdns 3.0 notify not logged

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


Hello Mike,

On Dec 30, 2011, at 12:12 , Mike Hoffs wrote:

> 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

I don't see how this change applies to notifies from valid masters. Can you explain?


> 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.

Kind regards,
Peter van Dijk





More information about the Pdns-users mailing list