[Pdns-users] Logging All DNS Queries

Curtis Maurand curtis at maurand.com
Thu Jul 23 14:06:27 UTC 2009


How about turning up debugging and then gleaning the information from 
the syslog?

--C

Wayne Beaver wrote:
> There are also other collection and reporting tools "out there", 
> including DSC (DNS Stats Collector), dns2db, etc. - a Google on any of 
> those terms should send you down the right path. I have used both, in 
> addition to home-rolled tools based around tcpdump, wireshark/tshark, 
> dnsdump, DNScap, etc. Many options out there...
>
> Wayne Beaver
>
>
> On Jul 23, 2009, at 6:00 AM, pdns-users-request at mailman.powerdns.com 
> wrote:
>
>> From: Jeroen Wunnink <jeroen at easyhosting.nl>
>> Subject: Re: [Pdns-users] Logging All DNS Queries
>> To: Pdns-users <pdns-users at mailman.powerdns.com>
>>
>> You could just tcpdump / tethereal your port 53 traffic I suppose,
>> they're generally oneliners that you can easily stick in a logfile to
>> process.
>>
>> bert hubert wrote:
>>> On Wed, Jul 22, 2009 at 7:49 PM, Bryan
>>> Brannigan<bryan at branniganventures.com> wrote:
>>>
>>>> I would like to configure PowerDNS to log all DNS queries to a text
>>>> file or to a MySQL table.  Does anyone know if this is possible?
>>>
>>> Bryan,
>>>
>>> The PowerDNS Authoritative Server does not have this ability, the
>>> PowerDSN Recursor does ('quiet=off').
>>>
>>> Another solution that is far less resource intensive is to run a
>>> tcpdump on your UDP port, and use tools like 'ncap' to make reports on
>>> what queries you've seen.
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users



More information about the Pdns-users mailing list