make_query_packet() IP address detection broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnet-dns-perl (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: libnet-dns-perl
The IP address detection logic (for PTR query magic) in
Net::DNS:
Net::DNS 0.60.
The documentation for Net::DNS:
| The argument list can be either a Net::DNS::Packet object or a list
| of strings. The record type and class can be omitted; they default to
| A and IN. If the name looks like an IP address (Ipv4 or IPv6), then
| an appropriate PTR query will be performed.
However, "foo:bar/
Setting up libnet-dns-perl (0.60-1) ...
$ perl -MNet::
$VAR1 = bless( {
}, 'Net::DNS:
Setting up libnet-dns-perl (0.59-1build1) ...
$ perl -MNet::
$VAR1 = bless( {
}, 'Net::DNS:
It looks like the problem is a regex that believes that if both ":" and "/" appear in a domain name it must be an IPv6 address. These are both legal.
Upstream bug is https:/
COnfirmed based on upstream bug.