[Pdns-users] NAPTR / ENUM

Eric Liedtke e at musinghalfwit.org
Wed Oct 5 03:12:43 UTC 2005


It's seems fuzzy now but I think on Tue, Oct 04, 2005 at 12:13:10AM +0200 , bert hubert said:
> On Mon, Oct 03, 2005 at 04:01:37PM -0500, Eric Liedtke wrote:
> > My apologies for the lack of info I assumed it was my own problem, this
> 
> Eric, I can't reproduce your problem here.
> 
> mysql> select * from records where type='NAPTR';
> +----------+-----------+----------+-------+------------------------------------------------------+------+------+-------------+
> | id       | domain_id | name     | type  | content                  | ttl
> | prio | change_date |
> +----------+-----------+----------+-------+------------------------------------------------------+------+------+-------------+
> | 17668047 |         5 | test.com | NAPTR | 10 10 "u" +"sip+E2U"
> "!^.*$!sip:paf at test.net!" | 3600 | NULL |        NULL |
> +----------+-----------+----------+-------+------------------------------------------------------+------+------+-------------+
> 
> 

Ok just to take the possiblity of it being my system I was testing on
out of the equation I had a fairly pristine debian 3.1 dev server that
was doing nothing so I installed it there and am having the same issues.
Again from the standard debian packages with the gmysql backend.




To be clear though the logs below are from my unstable system.
Here is the logging I currently get

Oct  4 21:56:09 slither pdns[27472]: Listening on controlsocket in '/var/run/pdns.controlsocket'
Oct  4 21:56:09 slither pdns[27474]: Guardian is launching an instance
Oct  4 21:56:09 slither pdns[27474]: This is module gmysqlbackend.so reporting
Oct  4 21:56:09 slither pdns[27474]: This is a guarded instance of pdns
Oct  4 21:56:09 slither pdns[27474]: UDP server bound to 192.168.10.4:53
Oct  4 21:56:09 slither pdns[27474]: TCP server bound to 192.168.10.4:53
Oct  4 21:56:09 slither pdns[27474]: PowerDNS 2.9.18 (C) 2001-2005 PowerDNS.COM BV (Oct  1 2005, 18:14:48, gcc 4.0.2 20050917 (prerelease) (Debian 4.0.1-8)) starting up
Oct  4 21:56:09 slither pdns[27474]: 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.
Oct  4 21:56:09 slither pdns[27474]: Set effective group id to 115
Oct  4 21:56:09 slither pdns[27474]: Set effective user id to 109
Oct  4 21:56:09 slither pdns[27474]: Creating backend connection for TCP
Oct  4 21:56:09 slither pdns[27474]: gmysql Connection succesful
Oct  4 21:56:09 slither pdns[27474]: About to create 3 backend threads for UDP
Oct  4 21:56:09 slither pdns[27474]: Launched webserver on 127.0.0.1:8081
Oct  4 21:56:09 slither pdns[27474]: gmysql Connection succesful

**** make the query here ***
* note the first response came back in error according to host see belowbut it did not cause a crash
* the second time it had to dip the db however was a different story
* so the logs that follow came after 1 query, then let the query/packet cache timeout,
* and the second query causes the barf
*
* host -t NAPTR 5.5.5.5.5.5.5.5.5.5.test.com. 192.168.10.4
* 5.5.5.5.5.5.5.5.5.5.test.com    NAPTR   100 10 "u" "sip+E2U" "!^.*$!sip:paf at test.net!" \000
* *** size error in NAPTR record for 5.5.5.5.5.5.5.5.5.5.test.com, off by 2
***************************************

Oct  4 21:57:07 slither pdns[27474]: Distributor misses a thread (4<3), spawning new one
Oct  4 21:57:07 slither pdns[27474]: Query: select content,ttl,prio,type,domain_id,name from records where name='5.5.5.5.5.5.5.5.5.5.test.com'
Oct  4 21:57:07 slither pdns[27474]: gmysql Connection succesful
Oct  4 21:57:43 slither pdns[27474]: Query: select content,ttl,prio,type,domain_id,name from records where name='5.5.5.5.5.5.5.5.5.5.test.com'
Oct  4 21:57:43 slither pdns[27474]: Got a signal 11, attempting to print trace: 
Oct  4 21:57:43 slither pdns[27474]: /usr/sbin/pdns_server-instance [0x80bf4ec]
Oct  4 21:57:43 slither pdns[27474]: [0xffffe420]
Oct  4 21:57:43 slither pdns[27474]: /lib/tls/libc.so.6(memcpy+0x2f) [0xb7db05ef]
Oct  4 21:57:43 slither pdns[27474]: /usr/lib/libstdc++.so.6(_ZNSs6appendERKSs+0x62) [0xb7f4e432]
Oct  4 21:57:43 slither pdns[27474]: /usr/sbin/pdns_server-instance(_ZN9DNSPacket14addNAPTRRecordERKSsS1_j+0x9a8) [0x806a4a8]
Oct  4 21:57:43 slither pdns[27474]: /usr/sbin/pdns_server-instance(_ZN9DNSPacket14addNAPTRRecordERK17DNSResourceRecord+0x1e) [0x806a96e]
Oct  4 21:57:43 slither pdns[27474]: /usr/sbin/pdns_server-instance(_ZN9DNSPacket6wrapupEv+0xc9d) [0x806d2cd]
Oct  4 21:57:43 slither pdns[27474]: /usr/sbin/pdns_server-instance(_ZN13PacketHandler8questionEP9DNSPacket+0xfe9) [0x808a7a9]
Oct  4 21:57:43 slither pdns[27474]: /usr/sbin/pdns_server-instance(_ZN11DistributorI9DNSPacketS0_13PacketHandlerE10makeThreadEPv+0x17d) [0x80fb28d]
Oct  4 21:57:43 slither pdns[27474]: /lib/tls/libpthread.so.0 [0xb7e7eccd]
Oct  4 21:57:43 slither pdns[27474]: /lib/tls/libc.so.6(__clone+0x5e) [0xb7e12b0e]
Oct  4 21:57:43 slither pdns[27472]: Our pdns instance (27474) exited after signal 6
Oct  4 21:57:43 slither pdns[27472]: Respawning
Oct  4 21:57:44 slither pdns[27513]: Guardian is launching an instance
Oct  4 21:57:44 slither pdns[27513]: This is module gmysqlbackend.so reporting
Oct  4 21:57:44 slither pdns[27513]: This is a guarded instance of pdns
Oct  4 21:57:44 slither pdns[27513]: UDP server bound to 192.168.10.4:53
Oct  4 21:57:44 slither pdns[27513]: TCP server bound to 192.168.10.4:53
Oct  4 21:57:44 slither pdns[27513]: PowerDNS 2.9.18 (C) 2001-2005 PowerDNS.COM BV (Oct  1 2005, 18:14:48, gcc 4.0.2 20050917 (prerelease) (Debian 4.0.1-8)) starting up
Oct  4 21:57:44 slither pdns[27513]: 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.
Oct  4 21:57:44 slither pdns[27513]: Set effective group id to 115
Oct  4 21:57:44 slither pdns[27513]: Set effective user id to 109
Oct  4 21:57:44 slither pdns[27513]: Creating backend connection for TCP
Oct  4 21:57:44 slither pdns[27513]: Launched webserver on 127.0.0.1:8081
Oct  4 21:57:44 slither pdns[27513]: gmysql Connection succesful
Oct  4 21:57:44 slither pdns[27513]: About to create 3 backend threads for UDP
Oct  4 21:57:44 slither pdns[27513]: gmysql Connection succesful
Oct  4 21:57:44 slither last message repeated 2 times
Oct  4 21:57:44 slither pdns[27513]: Done launching threads, ready to distribute questions
Oct  4 21:57:48 slither pdns[27513]: Query: select content,ttl,prio,type,domain_id,name from records where name='5.5.5.5.5.5.5.5.5.5.test.com'



I also pasted the query that was printed in the logs  directly into the cli and this was the response.....

mysql> select content,ttl,prio,type,domain_id,name from records where name='5.5.5.5.5.5.5.5.5.5.test.com';
+-------------------------------------------------+------+------+-------+-----------+------------------------------+
| content                                         | ttl  | prio | type  | domain_id | name                         |
+-------------------------------------------------+------+------+-------+-----------+------------------------------+
| 100 10 "u" "sip+E2U" "!^.*$!sip:paf at test.net!". | 3600 |    0 | NAPTR |         1 | 5.5.5.5.5.5.5.5.5.5.test.com |
+-------------------------------------------------+------+------+-------+-----------+------------------------------+
1 row in set (0.00 sec)

as far as I can tell that looks valid to me.

Is the next step to compile my own with debugging ? What would be the best way to track this down ?

I willing to do anything I can to help.

-e




More information about the Pdns-users mailing list