]> granicus.if.org Git - pdns/commitdiff
log client IP for immediate SERVFAIL exceptions
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Tue, 9 Dec 2014 13:58:11 +0000 (14:58 +0100)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Tue, 9 Dec 2014 13:58:11 +0000 (14:58 +0100)
pdns/pdns_recursor.cc

index 7cc7462fd5d2b572c155f51cbdd57a28d8b0b317..c37e92011a06f55f2967559c0ec01f3e58d039f4 100644 (file)
@@ -567,7 +567,7 @@ void startDoResolve(void *p)
         res = sr.beginResolve(dc->d_mdp.d_qname, QType(dc->d_mdp.d_qtype), dc->d_mdp.d_qclass, ret);
       }
       catch(ImmediateServFailException &e) {
-        L<<Logger::Error<<"Sending SERVFAIL during resolve of '"<<dc->d_mdp.d_qname<<"' because: "<<e.reason<<endl;
+        L<<Logger::Error<<"Sending SERVFAIL to "<<dc->getRemote()<<" during resolve of '"<<dc->d_mdp.d_qname<<"' because: "<<e.reason<<endl;
 
         res = RCode::ServFail;
       }