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.
Message body not shown because it is not plain text.