[Pdns-users] How to diagnose misbehaving PowerDNS server.

IFM Lists jklists at ifm-services.com
Tue Jun 15 03:14:56 UTC 2010


I just uploaded a new batch of records for a domain into my PowerDNS database (MySQL). 

My primary name server (ns1), for some reason, is returning nothing for one particular record where the secondary (ns2) does. It works for the other records. 

It appears that the primary server ns1 is misbehaving. 


From my workstation: 

$ dig @ns1.mydomain.com foo.bar.com 

Correct record returned. 

$ dig @ns2.mydomain.com foo.bar.com 

Correct record returned. 

From primary server: 

$ dig @localhost foo.bar.com 

;; connection timed out; no servers could be reached

From secondary server: 

$ dig @localhost foo.bar.com 

Correct record returned. 


On the primary server: 

If I restart PowerDNS, /var/log/messages says: 

Jun 14 20:52:23 ns1 pdns[2614]: Scheduling exit on remote request
Jun 14 20:52:23 ns1 pdns[2614]: Guardian is killed, taking down children with us
Jun 14 20:52:26 ns1 pdns[3925]: Listening on controlsocket in '/var/run/pdns.controlsocket'
Jun 14 20:52:26 ns1 pdns[3927]: Guardian is launching an instance
Jun 14 20:52:26 ns1 pdns[3927]: This is a guarded instance of pdns
Jun 14 20:52:26 ns1 pdns[3927]: UDP server bound to XXX.XXX.XXX.XXX:53
Jun 14 20:52:26 ns1 pdns[3927]: TCP server bound to XXX.XXX.XXX.XXX:53
Jun 14 20:52:26 ns1 pdns[3927]: PowerDNS 2.9.21.2 (C) 2001-2008 PowerDNS.COM BV (Nov 16 2008, 14:07:43, gcc 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) starting up
Jun 14 20:52:26 ns1 pdns[3927]: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Jun 14 20:52:26 ns1 pdns[3927]: Creating backend connection for TCP
Jun 14 20:52:26 ns1 pdns[3927]: gmysql Connection succesful
Jun 14 20:52:26 ns1 pdns[3927]: About to create 3 backend threads for UDP
Jun 14 20:52:26 ns1 pdns[3927]: gmysql Connection succesful
Jun 14 20:52:44 ns1 last message repeated 3 times

Which to me seems to indicate success. 

Any ideas on how to diagnose this troublesome server? 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20100614/2e394cdd/attachment.html>


More information about the Pdns-users mailing list