[Pdns-users] ipv6 reverse lookup timeout error
tsboj17
tsboj17 at gmail.com
Sun Dec 1 21:18:27 UTC 2013
Hello!
I use pdns(with recursor) with postgres backend. Everything works great
expect of ipv6 reverse lookup. I got rcode=2 error when I wanted to use some
command like this: dig -x 5001:7338:2231:204c:0:248:7:0 (fake ip of course)
I got these problem only with ipv6 reverse lookup, everything else works
fine.
I guess I know what is the problem, the log shows it clearly:
Nov 30 20:17:15 dbtest2 pdns_recursor[10067]: 0 [9] question for
'0.0.0.0.1.9.0.0.8.0.2.1.2.3.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa.|PTR'
from 127.0.0.1
Nov 30 20:17:15 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.0.0.0.1.9.1.2.3.0.2.0.0.0.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:15 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.0.0.1.9.0.1.2.3.2.0.0.0.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:15 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.0.1.9.0.0.1.2.3.0.0.0.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:15 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.1.9.0.0.8.1.2.3.0.0.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:15 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'1.9.0.0.8.0.1.2.3.0.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:15 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'9.0.0.8.0.2.1.2.3.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:15 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.0.8.0.2.0.1.2.3.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:15 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.8.0.2.0.0.1.2.3.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'8.0.2.0.0.0.1.2.3.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.2.0.0.0.0.1.2.3.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'2.0.0.0.0.0.b.1.2.3.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.0.0.0.0.b.7.1.2.3.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.0.0.0.b.7.0.1.2.3.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
*Nov 30 20:17:16 dbtest2 pdns_recursor[10067]: 0 [9] answer to question
'0.0.0.0.1.9.0.0.8.0.2.0.0.0.0.0.1.2.3.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa.|PTR':
0 answers, 0 additional, took 1 packets, 0 throttled, 1 timeouts, 0 tcp
connections,
rcode=2*
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.0.0.b.7.0.2.1.1.2.3.8.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.0.b.7.0.2.1.0.1.2.3.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'0.b.7.0.2.1.0.0.1.2.3.7.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:16 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'b.7.0.2.1.0.0.2.1.2.3.0.1.0.0.2.ip6.arpa'
Nov 30 20:17:17 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'7.0.2.1.0.0.2.8.3.1.2.3.0.0.2.ip6.arpa'
Nov 30 20:17:17 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.0.0.0.1.9.0.0.8.1.2.3.0.0.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
and domain_id=3
Nov 30 20:17:17 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.0.0.1.9.0.0.8.0.1.2.3.0.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
and domain_id=3
Nov 30 20:17:17 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.0.1.9.0.0.8.0.2.1.2.3.0.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
and domain_id=3
Nov 30 20:17:17 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.1.9.0.0.8.0.2.0.1.2.3.0.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
and domain_id=3
Nov 30 20:17:17 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'1.9.0.0.8.0.2.0.0.1.2.3.b.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa' and
domain_id=3
Nov 30 20:17:17 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'9.0.0.8.0.2.0.0.0.1.2.3.7.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa' and
domain_id=3
Nov 30 20:17:17 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.0.8.0.2.0.0.0.0.1.2.3.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa' and
domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.8.0.2.0.0.0.0.0.b.1.2.3.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa' and
domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'8.0.2.0.0.0.0.0.b.7.1.2.3.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa' and
domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.2.0.0.0.0.0.b.7.0.1.2.3.0.2.8.3.7.0.1.0.0.2.ip6.arpa' and
domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'2.0.0.0.0.0.b.7.0.2.1.2.3.2.8.3.7.0.1.0.0.2.ip6.arpa' and domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.0.0.0.0.b.7.0.2.1.1.2.3.8.3.7.0.1.0.0.2.ip6.arpa' and domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.0.0.0.b.7.0.2.1.0.1.2.3.3.7.0.1.0.0.2.ip6.arpa' and domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.0.0.b.7.0.2.1.0.0.1.2.3.7.0.1.0.0.2.ip6.arpa' and domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.0.b.7.0.2.1.0.0.2.1.2.3.0.1.0.0.2.ip6.arpa' and domain_id=3
Nov 30 20:17:18 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'0.b.7.0.2.1.0.0.2.8.1.2.3.1.0.0.2.ip6.arpa' and domain_id=3
Nov 30 20:17:19 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where type='NS' and
name=E'b.7.0.2.1.0.0.2.8.3.7.1.2.3.0.2.ip6.arpa' and domain_id=3
Nov 30 20:17:19 dbtest2 pdns[9548]: Query: select
content,ttl,prio,type,domain_id,name from records where
name=E'0.0.0.0.1.9.0.0.8.0.2.0.0.0.0.1.2.3.0.2.1.0.0.2.8.3.7.0.1.0.0.2.ip6.arpa'
and domain_id=3
I changed the address in random places so it's not correct of course (it's
just an example so it does not have to be correct).
The problem is:
The pdns begins decrypt the address from query to query. Suddenly the
service reach the default network-timeout limit(because every query has
execution time of course) and then it sends a error message (rcode=2). It
can be seen in the log, I emphasize with Bold style. After that message the
pdns continue the decrypt but naturally it does not get to me.
Of course if I raise the network-timeout value higher, it works great
because the service has time to finish the queries. In that case, I got
correct result, so that part is good.
It is a pdns bug or I missed something in the config file? I don't know how
can i fix this.
I could not find same probem in google, that's why I'm writing to here.
Thanks for the help.
Roland.
--
View this message in context: http://powerdns.13854.n7.nabble.com/ipv6-reverse-lookup-timeout-error-tp10440.html
Sent from the PowerDNS mailing list archive at Nabble.com.
More information about the Pdns-users
mailing list