]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
improve query logging somewhat for bind backend
authorbert hubert <bert.hubert@netherlabs.nl>
Sat, 13 Aug 2016 15:07:15 +0000 (17:07 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Sat, 13 Aug 2016 15:07:15 +0000 (17:07 +0200)
modules/bindbackend/bindbackend2.cc

index 7a021743eac47ae8be4ebda508fc273a34737878..296c071adbc91a853a95772b955a861deefcb20c 100644 (file)
@@ -1024,7 +1024,7 @@ void Bind2Backend::lookup(const QType &qtype, const DNSName &qname, DNSPacket *p
 
   static bool mustlog=::arg().mustDo("query-logging");
   if(mustlog) 
-    L<<Logger::Warning<<"Lookup for '"<<qtype.getName()<<"' of '"<<domain<<"'"<<endl;
+    L<<Logger::Warning<<"Lookup for '"<<qtype.getName()<<"' of '"<<domain<<"' within zoneID "<<zoneId<<endl;
   bool found=false;
   BB2DomainInfo bbd;