Skip Menu |
 

This queue is for tickets about the NetAddr-IP CPAN distribution.

Report information
The Basics
Id: 119858
Status: new
Priority: 0/
Queue: NetAddr-IP

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

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



From: gregoa [...] cpan.org
Subject: IPv6 resolving broken
Download (untitled) / with headers
text/plain 1.1k
We have the following bug reported to the Debian package of NetAddr-IP (https://bugs.debian.org/851388): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> To: submit@bugs.debian.org Subject: IPv6 resolving broken Date: Sat, 14 Jan 2017 14:25:51 +0000 Package: libnetaddr-ip-perl Severity: important Version: 4.079+dfsg-1 Resolving DNS names to IPv6 addresses with NetAddr::IP->new6($hostname) fails and results in some IPv4'ish address with IPv6 syntax. ``` use NetAddr::IP; my $hostname = "google-public-dns-a.google.com"; my $ip6 = NetAddr::IP->new6($hostname); my $ip4 = NetAddr::IP->new($hostname); print "$ip6 <- WTF???\n"; print "$ip4\n"; exit(0); ``` ... gives... ``` [mike@minobo ~]$ ./netaddr-ip_resolv-ipv6.pl 0:0:0:0:0:0:808:808/128 <- WTF??? 8.8.8.8/32 ``` This issues currently causes this upstream bug in UIF [1]. Greets, Mike https://github.com/cajus/uif/issues/2 ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.