[Pdns-users] difference in timing?
bert hubert
ahu at ds9a.nl
Sun Feb 29 15:24:01 UTC 2004
On Sun, Feb 29, 2004 at 03:05:29PM +0100, Norbert Sendetzky wrote:
> > Can you run a log of all ldap queries generated by the DNS query?
> > Not sure if the LDAP backend supports query-log, byt try it.
>
> Don't think so. What do I have to do to support it?
Something along these lines in the ldapbackend:
if(arg().mustDo("query-logging"))
L<<Logger::Error<<"Query: '"<<qdomain+"|"+type.getName()<<"'"<<endl;
See the xdbbackend for example.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
More information about the Pdns-users
mailing list