Subject: | Resolver with nameserver only in IPv6 is broken |
When you assign a nameserver to a Net::DNS::Resolver object via name,
with "nameservers" method, is only tested its IPv4 address.
In Resolver/Base.pm, line 347:
my $packet = $defres->search($ns);
there's an assumption that there's an A record. In case of failure is
needed another attempt with:
$packet = $defres->search($ns, 'AAAA');
for names that only have IPv6 addresses.