Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- pdns-2.9.22/pdns/packethandler.cc.ORIGINAL 2008-12-06 11:44:38.000000000 -0800
- +++ pdns-2.9.22/pdns/packethandler.cc 2009-11-11 22:16:02.000000000 -0800
- @@ -792,13 +792,13 @@
- if(weAuth) {
- DLOG(L<<Logger::Warning<<"Soa found: '"<<sd.qname<<"'"<<endl);
- ;
- }
- if(!weAuth) {
- DLOG(L<<Logger::Warning<<"We're not authoritative"<<endl);
- - if(p->d.rd || target==p->qdomain) { // only servfail if we didn't follow a CNAME
- + if(p->d.rd && target==p->qdomain) { // only servfail if we didn't follow a CNAME
- DLOG(L<<Logger::Warning<<"Adding SERVFAIL as we did not followed a CNAME"<<endl);
- if(d_logDNSDetails)
- L<<Logger::Warning<<"Not authoritative for '"<< target<<"', sending servfail to "<<
- p->getRemote()<< (p->d.rd ? " (recursion was desired)" : "") <<endl;
- r->setA(false);
Advertisement
Add Comment
Please, Sign In to add comment