Red Hat Bugzilla – Bug 208315
Inconsistent handling of reverse IP lookup fixed in Net::DNS 0.59
Last modified: 2007-11-30 17:11:44 EST
Description of problem:
Perl-Net-DNS-0.58 resolver search(), query(), bgsend() and send() methods not
consistent in interpreting IPv4 and IPv6 addresses as a PTR query.
Version-Release number of selected component (if applicable):
Since FC6-test3 went to press, Net::DNS 0.59 has been released.
I realise that final release deadline is uncomfortably close, but think that the
revised module fixes enough inconsistent and outright wrong behaviour to be well
worth getting into FC6 if this is still possible.
The CPAN bug references are:
#20857 Resolver query() treats empty or undef name as default domain.
#20994 Resolver search() erroneously applies search list to IPv6 address.
#21402 Unable to prebuild PTR query from IP using Net::DNS:Packet->new().
The search() query() send() bgsend() and Packet->new() methods are now 100%
consistent in the form of argument they accept.
The inconsistency was reported in CPAN bug #20836 (later merged with #21402)
I can confirm that revised module has been tested using FC5.
I've built 0.59 as 'testing' for FC5 - I'm getting an odd error with the FC6
version that I'll investigate more in the morning.
The FC6 error was my mistake - built for fc6 as well, and I've requested that
the fedora release team push this as an update to fc6.
*** Bug 208535 has been marked as a duplicate of this bug. ***