[Pdns-users] how to control output and understand it..

B. Cook bcook at poughkeepsieschools.org
Wed Jan 31 15:24:59 UTC 2007


Hello all,

I've just recently added a powerdns-recursive server in place here. 
First it was to supplement some djbdns dnscache servers, but now 
powerdns is running the recursive part totally on it's own.

But I just have some questions that I can't seem to figure out on my own..

I'm running FreeBSD 6.x and using the recursor from the ports collection:
powerdns-recursor-3.1.4_3 An advanced DNS recursor

egrep -v "#" /usr/local/etc/pdns/recursor.conf| sort

allow-from=127.0.0.1/32, 1.2.3.0/25
local-address=127.0.0.1,1.2.3.8

and on the other:

allow-from=10.0.0.0/8, 127.0.0.1/32
fork=yes
local-address=127.0.0.1, 10.1.0.210
logging-facility=1

(the fork is b/c the one box is a dual proc box)

and the logs are dumping to /var/log/messages, which I am trying to 
understand as well; since they are right in my face ;)

Jan 31 08:18:29 arsenic pdns_recursor[40657]: Refreshed . records
Jan 31 08:34:51 arsenic pdns_recursor[40657]: stats: 1941943 questions, 
70690 cache entries, 2468 negative entries, 54% cache hits
Jan 31 08:34:51 arsenic pdns_recursor[40657]: stats: throttle map: 7, ns 
speeds: 301
Jan 31 08:34:51 arsenic pdns_recursor[40657]: stats: outpacket/query 
ratio 56%, 0% throttled, 0 no-delegation drops
Jan 31 08:34:51 arsenic pdns_recursor[40657]: stats: 158 outgoing tcp 
connections, 2 queries running, 54755 outgoing timeouts
Jan 31 09:06:13 arsenic pdns_recursor[40657]: stats: 1949640 questions, 
71019 cache entries, 3039 negative entries, 54% cache hits
Jan 31 09:06:13 arsenic pdns_recursor[40657]: stats: throttle map: 24, 
ns speeds: 471
Jan 31 09:06:13 arsenic pdns_recursor[40657]: stats: outpacket/query 
ratio 56%, 0% throttled, 0 no-delegation drops
Jan 31 09:06:13 arsenic pdns_recursor[40657]: stats: 159 outgoing tcp 
connections, 3 queries running, 54987 outgoing timeouts
Jan 31 09:36:45 arsenic pdns_recursor[40657]: stats: 1959578 questions, 
71153 cache entries, 3591 negative entries, 54% cache hits
Jan 31 09:36:45 arsenic pdns_recursor[40657]: stats: throttle map: 39, 
ns speeds: 458
Jan 31 09:36:45 arsenic pdns_recursor[40657]: stats: outpacket/query 
ratio 56%, 0% throttled, 0 no-delegation drops
Jan 31 09:36:45 arsenic pdns_recursor[40657]: stats: 159 outgoing tcp 
connections, 2 queries running, 55323 outgoing timeouts
Jan 31 10:07:49 arsenic pdns_recursor[40657]: stats: 1970007 questions, 
71031 cache entries, 3220 negative entries, 54% cache hits
Jan 31 10:07:49 arsenic pdns_recursor[40657]: stats: throttle map: 23, 
ns speeds: 372
Jan 31 10:07:49 arsenic pdns_recursor[40657]: stats: outpacket/query 
ratio 56%, 0% throttled, 0 no-delegation drops
Jan 31 10:07:49 arsenic pdns_recursor[40657]: stats: 161 outgoing tcp 
connections, 2 queries running, 55676 outgoing timeouts
Jan 31 10:18:57 arsenic pdns_recursor[40657]: Refreshed . records

FreeBSDs syslog.conf for /var/log/messages is:
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err 
/var/log/messages

On one box I have them being dumped to local1 but I still get the 
messages in /var/log/messages.. anyway to make it not do that?

And where/how do I understand these logs..

Thanks in advance.

-- 
B. Cook
Network Analyst
Poughkeepsie City School District



More information about the Pdns-users mailing list