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

Imre Gergely gimre at narancs.net
Tue Jun 15 05:56:27 UTC 2010


Maybe powerdns is not listening on localhost (127.0.0.1) on ns1 ?

On 06/15/2010 06:14 AM, IFM Lists wrote:
> 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 <http://foo.bar.com> 
> 
> Correct record returned. 
> 
> $ dig @ns2.mydomain.com foo.bar.com <http://foo.bar.com> 
> 
> Correct record returned. 
> 
> *From primary server:* 
> 
> $ dig @localhost foo.bar.com <http://foo.bar.com> 
> 
> ;; connection timed out; no servers could be reached
> 
> *From secondary server:* 
> 
> $ dig @localhost foo.bar.com <http://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 <http://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? 
> 
> 
> 
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

-- 
Imre Gergely
Yahoo!: gergelyimre | ICQ#: 101510959
MSN: gergely_imre | GoogleTalk: gergelyimre
gpg --keyserver subkeys.pgp.net --recv-keys 0x34525305



More information about the Pdns-users mailing list