Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: alan.batie [...] peakinternet.com
Cc:
AdminCc:

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



Subject: Resolver does not recognize IPv6 nameservers
Date: Tue, 11 Mar 2014 18:35:09 -0700
To: bug-Net-DNS [...] rt.cpan.org
From: Alan Batie <alan.batie [...] peakinternet.com>
my $res = Net::DNS::Resolver->new(nameservers => [$ns], recurse => 0); fails to properly set the nameserver when an IPv6 address is given: <dns1.peak.org> [108] # ndnsrrv6 Net::DNS version 0.74 check peak.org on 2607:f678::56 no nameservers check peak.org on 2001:4801:7817:72:7338:e87f:ff10:ba4c no nameservers check peak.org on 207.55.16.56 peak.org serial 2014031101 <dns1.peak.org> [109] # host -t soa peak.org 2001:4801:7817:72:7338:e87f:ff10:ba4c Using domain server: Name: 2001:4801:7817:72:7338:e87f:ff10:ba4c Address: 2001:4801:7817:72:7338:e87f:ff10:ba4c#53 Aliases: peak.org has SOA record ns1.peak.org. hostmaster.peak.org. 2014031101 300 900 604800 300 <dns1.peak.org> [110] # host -t soa peak.org 2607:f678::56 Using domain server: Name: 2607:f678::56 Address: 2607:f678::56#53 Aliases: peak.org has SOA record ns1.peak.org. hostmaster.peak.org. 2014031101 300 900 604800 300

Message body is not shown because sender requested not to inline it.

Download smime.p7s
application/pkcs7-signature 5.8k

Message body not shown because it is not plain text.

From: rwfranks [...] acm.org
Suggest you try this. If you get different result, the problem lies in your IPv6 setup, not Net::DNS. #!/usr/bin/perl use Net::DNS; my $ns = '2607:f678::56'; my $res = Net::DNS::Resolver->new( nameservers => [$ns], recurse => 0 ); $res->debug(1); $res->print; ;; RESOLVER state: ;; domain = ;; searchlist = ;; nameservers = 2607:f678::56 ;; port = 53 ;; srcport = 0 ;; srcaddr = 0.0.0.0 ;; tcp_timeout = 120 ;; retrans = 5 retry = 4 ;; usevc = 0 stayopen = 0 igntc = 0 ;; defnames = 1 dnsrch = 1 ;; recurse = 0 debug = 1 ;; force_v4 = 0 (IPv6 Transport is available) ============================= ;; Trying to set up a AF_INET6() family type UDP socket with srcaddr: :: ... done ;; setting up an AF_INET() family type UDP socket ;; send_udp(2607:f678::56#53) Show quoted text
________________ On Tue Mar 11 21:35:24 2014, alan.batie@peakinternet.com wrote:
> my $res = Net::DNS::Resolver->new(nameservers => [$ns], recurse => 0); > > fails to properly set the nameserver when an IPv6 address is given: > > <dns1.peak.org> [108] # ndnsrrv6 > Net::DNS version 0.74 > check peak.org on 2607:f678::56 > no nameservers > check peak.org on 2001:4801:7817:72:7338:e87f:ff10:ba4c > no nameservers
Subject: Re: [rt.cpan.org #93764] Resolver does not recognize IPv6 nameservers
Date: Fri, 14 Mar 2014 11:18:49 -0700
To: bug-Net-DNS [...] rt.cpan.org
From: Alan Batie <alan.batie [...] peakinternet.com>
Show quoted text
> ;; force_v4 = 0 (IPv6 Transport is available)
OK, IO::Socket::INET6 wasn't installed, so please change this ticket to request a more helpful error message. Thanks!
Download smime.p7s
application/pkcs7-signature 5.8k

Message body not shown because it is not plain text.

Resolved in upcoming 0.75 release