Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 128081
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: felipe [...] felipegasper.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Recurse.pm fails to resolve domain “kickboxingireland.ie”
Date: Fri, 21 Dec 2018 12:12:20 -0500
To: bug-Net-DNS [...] rt.cpan.org
From: Felipe Gasper <felipe [...] felipegasper.com>
----- Show quoted text
> perl -MNet::DNS::Resolver::Recurse -MData::Dumper -e'print Dumper( pkt => Net::DNS::Resolver::Recurse->new()->send( "kickboxingireland.ie", "TXT" ) )'
unresolvable name: ns1.dns.ie at -e line 1. unresolvable name: ns2.dns.ie at -e line 1. unresolvable name: ns4.dns.ie at -e line 1. unresolvable name: ns2.irishdomains.com at -e line 1. unresolvable name: ns3.dns.ie at -e line 1. unresolvable name: ns1.irishdomains.com at -e line 1. $VAR1 = 'pkt'; $VAR2 = ''; ----- So, here, Recurse.pm says several nameservers are unresolvable. However: ----- Show quoted text
> perl -MNet::DNS::Resolver::Recurse -MData::Dumper -e'print Dumper( pkt => ref Net::DNS::Resolver::Recurse->new()->send( "ns1.dns.ie", "A" ) )'
$VAR1 = 'pkt'; $VAR2 = 'Net::DNS::Packet'; ----- With “debug => 1”, here is the output from the query against kickboxingireland.ie: ----- ;; cache nameservers for . ;; udp send [192.33.4.12]:53 ;; reply from [192.33.4.12] 532 bytes ;; HEADER SECTION ;; id = 32326 ;; qr = 1 aa = 0 tc = 0 rd = 0 opcode = QUERY ;; ra = 0 z = 0 ad = 0 cd = 0 rcode = NOERROR ;; qdcount = 1 ancount = 0 nscount = 8 arcount = 17 ;; do = 0 ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 4096 ;; option: ;; QUESTION SECTION (1 record) ;; kickboxingireland.ie. IN TXT ;; ANSWER SECTION (0 records) ;; AUTHORITY SECTION (8 records) ie. 172800 IN NS e.ns.ie. ie. 172800 IN NS a.ns.ie. ie. 172800 IN NS b.ns.ie. ie. 172800 IN NS g.ns.ie. ie. 172800 IN NS h.ns.ie. ie. 172800 IN NS d.ns.ie. ie. 172800 IN NS c.ns.ie. ie. 172800 IN NS f.ns.ie. ;; ADDITIONAL SECTION (17 records) a.ns.ie. 172800 IN A 77.72.72.44 b.ns.ie. 172800 IN A 77.72.72.34 c.ns.ie. 172800 IN A 194.146.106.98 d.ns.ie. 172800 IN A 77.72.229.245 e.ns.ie. 172800 IN A 199.19.2.1 f.ns.ie. 172800 IN A 199.19.3.1 g.ns.ie. 172800 IN A 192.111.39.100 h.ns.ie. 172800 IN A 192.93.0.4 a.ns.ie. 172800 IN AAAA 2a01:4b0::3 b.ns.ie. 172800 IN AAAA 2a01:4b0::2 c.ns.ie. 172800 IN AAAA 2001:67c:1010:25::53 d.ns.ie. 172800 IN AAAA 2a01:3f0:0:309::53 e.ns.ie. 172800 IN AAAA 2001:500:93::1 f.ns.ie. 172800 IN AAAA 2001:500:95::1 g.ns.ie. 172800 IN AAAA 2001:7c8:2:a::64 h.ns.ie. 172800 IN AAAA 2001:660:3005:1::1:2 ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 4096 ;; option: ;; errorstring: NOERROR ;; cache nameservers for ie ;; udp send [77.72.72.34]:53 ;; reply from [77.72.72.34] 101 bytes ;; HEADER SECTION ;; id = 63905 ;; qr = 1 aa = 0 tc = 0 rd = 0 opcode = QUERY ;; ra = 0 z = 0 ad = 0 cd = 0 rcode = NOERROR ;; qdcount = 1 ancount = 0 nscount = 2 arcount = 1 ;; do = 0 ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 4096 ;; option: ;; QUESTION SECTION (1 record) ;; kickboxingireland.ie. IN TXT ;; ANSWER SECTION (0 records) ;; AUTHORITY SECTION (2 records) kickboxingireland.ie. 172800 IN NS ns1.irishdomains.com. kickboxingireland.ie. 172800 IN NS ns2.irishdomains.com. ;; ADDITIONAL SECTION (1 record) ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 4096 ;; option: ;; errorstring: NOERROR ;; cache nameservers for kickboxingireland.ie ;; find missing glue for ns2.irishdomains.com ;; using cached nameservers for . ;; udp send [192.33.4.12]:53 ;; reply from [192.33.4.12] 845 bytes ;; HEADER SECTION ;; id = 60850 ;; qr = 1 aa = 0 tc = 0 rd = 0 opcode = QUERY ;; ra = 0 z = 0 ad = 0 cd = 0 rcode = NOERROR ;; qdcount = 1 ancount = 0 nscount = 13 arcount = 27 ;; do = 0 ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 4096 ;; option: ;; QUESTION SECTION (1 record) ;; ns2.irishdomains.com. IN A ;; ANSWER SECTION (0 records) ;; AUTHORITY SECTION (13 records) com. 172800 IN NS m.gtld-servers.net. com. 172800 IN NS f.gtld-servers.net. com. 172800 IN NS c.gtld-servers.net. com. 172800 IN NS e.gtld-servers.net. com. 172800 IN NS h.gtld-servers.net. com. 172800 IN NS l.gtld-servers.net. com. 172800 IN NS d.gtld-servers.net. com. 172800 IN NS g.gtld-servers.net. com. 172800 IN NS k.gtld-servers.net. com. 172800 IN NS i.gtld-servers.net. com. 172800 IN NS j.gtld-servers.net. com. 172800 IN NS a.gtld-servers.net. com. 172800 IN NS b.gtld-servers.net. ;; ADDITIONAL SECTION (27 records) a.gtld-servers.net. 172800 IN A 192.5.6.30 b.gtld-servers.net. 172800 IN A 192.33.14.30 c.gtld-servers.net. 172800 IN A 192.26.92.30 d.gtld-servers.net. 172800 IN A 192.31.80.30 e.gtld-servers.net. 172800 IN A 192.12.94.30 f.gtld-servers.net. 172800 IN A 192.35.51.30 g.gtld-servers.net. 172800 IN A 192.42.93.30 h.gtld-servers.net. 172800 IN A 192.54.112.30 i.gtld-servers.net. 172800 IN A 192.43.172.30 j.gtld-servers.net. 172800 IN A 192.48.79.30 k.gtld-servers.net. 172800 IN A 192.52.178.30 l.gtld-servers.net. 172800 IN A 192.41.162.30 m.gtld-servers.net. 172800 IN A 192.55.83.30 a.gtld-servers.net. 172800 IN AAAA 2001:503:a83e::2:30 b.gtld-servers.net. 172800 IN AAAA 2001:503:231d::2:30 c.gtld-servers.net. 172800 IN AAAA 2001:503:83eb::30 d.gtld-servers.net. 172800 IN AAAA 2001:500:856e::30 e.gtld-servers.net. 172800 IN AAAA 2001:502:1ca1::30 f.gtld-servers.net. 172800 IN AAAA 2001:503:d414::30 g.gtld-servers.net. 172800 IN AAAA 2001:503:eea3::30 h.gtld-servers.net. 172800 IN AAAA 2001:502:8cc::30 i.gtld-servers.net. 172800 IN AAAA 2001:503:39c1::30 j.gtld-servers.net. 172800 IN AAAA 2001:502:7094::30 k.gtld-servers.net. 172800 IN AAAA 2001:503:d2d::30 l.gtld-servers.net. 172800 IN AAAA 2001:500:d937::30 m.gtld-servers.net. 172800 IN AAAA 2001:501:b1f9::30 ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 4096 ;; option: ;; errorstring: NOERROR ;; cache nameservers for com ;; udp send [192.26.92.30]:53 ;; reply from [192.26.92.30] 127 bytes ;; HEADER SECTION ;; id = 41146 ;; qr = 1 aa = 0 tc = 0 rd = 0 opcode = QUERY ;; ra = 0 z = 0 ad = 0 cd = 0 rcode = NOERROR ;; qdcount = 1 ancount = 0 nscount = 4 arcount = 1 ;; do = 0 ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 4096 ;; option: ;; QUESTION SECTION (1 record) ;; ns2.irishdomains.com. IN A ;; ANSWER SECTION (0 records) ;; AUTHORITY SECTION (4 records) irishdomains.com. 172800 IN NS ns2.dns.ie. irishdomains.com. 172800 IN NS ns1.dns.ie. irishdomains.com. 172800 IN NS ns3.dns.ie. irishdomains.com. 172800 IN NS ns4.dns.ie. ;; ADDITIONAL SECTION (1 record) ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 4096 ;; option: ;; errorstring: NOERROR ;; cache nameservers for irishdomains.com ;; find missing glue for ns3.dns.ie ;; using cached nameservers for ie ;; find missing glue for ns1.irishdomains.com ;; using cached nameservers for irishdomains.com ;; find missing glue for ns2.dns.ie ;; using cached nameservers for ie ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; using cached nameservers for ie ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; find missing glue for ns1.dns.ie ;; using cached nameservers for ie ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; using cached nameservers for ie ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; find missing glue for ns4.dns.ie ;; using cached nameservers for ie ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; using cached nameservers for ie ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; using cached nameservers for irishdomains.com ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; using cached nameservers for ie ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; using cached nameservers for irishdomains.com ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers ;; errorstring: no nameservers $VAR1 = 'pkt'; $VAR2 = ''; ----- Thank you for your time! -Felipe Gasper Mississauga, Ontario
Subject: Re: [rt.cpan.org #128081] AutoReply: Recurse.pm fails to resolve domain “kickboxingireland.ie”
Date: Fri, 21 Dec 2018 14:33:32 -0500
To: bug-Net-DNS [...] rt.cpan.org
From: Felipe Gasper <felipe [...] felipegasper.com>
I dug into this some more and found that the following seems to fix this particular query: - Replace “@$nslist = @list;” in Recurse.pm with “$nslist = \@list;”. Otherwise, what happens is that “ie”’s entry in “persistent”, after already being populated with the list of IP addresses, will be replaced with ['ns1.irishdomains.com','ns2.irishdomains.com'] because $nslist at this point is a reference to a member of “persistent”. -FG
Resolved in Net::DNS 1.20