[Pdns-users] powerdns 3.0 notify not logged
Peter van Dijk
peter.van.dijk at netherlabs.nl
Fri Jan 6 09:15:26 UTC 2012
On Jan 6, 2012, at 10:12 , Peter van Dijk wrote:
> 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?
I see it now (after private reply from Mike), difference in '!' :)
More information about the Pdns-users
mailing list