[Pdns-users] pdns logfile

Artur Russu Artur.Russu at orange.md
Fri Aug 23 10:09:04 UTC 2013


Hi Steffan,

This setting "log-dns-queries=yes" is guilty for excessive logging. 
This should be enabled in cases of troubleshouting and not for normal operation, as it loads the CPU of the server.

Best Regards,
Artur


-----Original Message-----
From: pdns-users-bounces at mailman.powerdns.com [mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Steffan Noord
Sent: Friday, August 23, 2013 12:19
To: pdns-users at mailman.powerdns.com
Subject: [Pdns-users] pdns logfile

Hello list,

I have in syslog
# powerdns
local0.info                                    -/var/log/pdns.inf
local0.warn                                    -/var/log/pdns.warn
local0.err                                     /var/log/pdns.err

in /etc/powerdns/pdns.conf
log-dns-details=yes
log-dns-queries=yes
logging-facility=0
loglevel=6

But when looking in /var/log/messages
I still see
Aug 23 11:17:55 server2 pdns[9665]: Remote 74.125.187.208 wants xxx Aug 23 11:17:55 server2 pdns[9665]: Remote 195.241.77.31 wants xxxx Aug 23 11:17:55 server2 pdns[9665]: Remote 74.125.187.20 wants xxx Aug 23 11:17:55 server2 pdns[9665]: Remote 94.75.208.207 wants xxxx Aug 23 11:17:55 server2 pdns[9665]: Remote 94.75.208.207 wants xxxx Aug 23 11:17:55 server2 pdns[9665]: Remote 94.75.233.94 wants xxxx Aug 23 11:17:56 server2 pdns[9665]: Remote 64.233.222.7 wants xxx Aug 23 11:17:56 server2 pdns[9665]: Remote 94.75.208.207 wants xxx

How can i stop getting this in the messages file ?

Thanxs

Steffan


_______________________________________________
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