Opened 6 years ago

Closed 5 years ago

#11066 closed enhancement (fixed)

Net::DNS (perl module) IPv6 dependencies seem dubious.

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 8.4
Component: BOOK Version: SVN
Severity: normal Keywords:


I don't have IPv6, but I do have it enabled in my kernel.

For Net::DNS IO::Socket::INET6 and its dependency of Socket6 are listed.

Without them, tests pass with the following output:

t/07-zonefile.t ............ ok
#       Disregarding 9 failed sub-tests
#       $resolver->bgread($udp) background TCP fail
#       $resolver->send(...)    UDP + failed TSIG
#       $resolver->send(...)    TCP + failed TSIG
#       $resolver->bgsend/read  TCP + failed TSIG
#       $resolver->query() failure
#       $resolver->search() failure
#       $resolver->bgsend() failure
#       $resolver->axfr() with TSIG verify
#       verify fail     []
t/08-IPv4.t ................ ok
t/08-IPv6.t ................ skipped: Unable to reach global root nameservers
#       Disregarding 1 failed sub-test
#       fail if no usable hint

(some other tests skipped for missing dependencies)

Adding those two dependencies does not alter the result. The tests for IO-Socket-INET6 reported

t/io_multihomed6.t ........ skipped: localhost does not resolve to both and ::1

although in /etc/hosts I have	localhost.localdomain localhost origin
[ snipped addresses of local machines ] 
::1       localhost ip6-localhost ip6-loopback
ff02::1   ip6-allnodes
ff02::2   ip6-allrouters

For the moment I intend to comment these dependencies, unless somebody with an IP6 connection can confirm them.

Change History (10)

comment:1 by Bruce Dubbs, 6 years ago

I do not have IPv6 either. My router is not set up for them so I would have to do some sort of tunneling. I did get the same failing tests, but that shouldn't be a show stopper. I say go ahead with what you have.

comment:2 by Douglas R. Reno, 6 years ago

Go ahead with what you have - I have IPv6 but what you have is great.

in reply to:  2 comment:3 by ken@…, 6 years ago

Replying to renodr:

Go ahead with what you have - I have IPv6 but what you have is great.

That's actually ambiguous, I can read it both a "good ahead with removing" and "go ahead with your plan" ;-)

Since this is a very minor issue, and ipv6 tends to be very uncommon in Europe and N. America I'm tending towards "wontfix".

comment:4 by Bruce Dubbs, 6 years ago

Resolution: worksforme
Status: newclosed

Closing as worksforme. (Actually works for Douglas)

comment:5 by ken@…, 5 years ago

Resolution: worksforme
Status: closedreopened

Going through the module deps one at a time, I could not see INET6 mentioned in the Net::DNS tests. Grep found that the only mentions of it were in Changes.

**** 1.16 Jul 15, 2018

        New NSEC3 encloser(), nextcloser() and wildcard() instance
        methods return closest encloser, "next closer" and putative
        wildcard names respectively.

        Add new NSEC covers() instance method.

        New NSEC typemap() instance method interrogates type list.

        IO::Socket::INET6 removed from recommended module metadata.
        IPv6 requires IO::Socket::IP which is now a core package.

The oldest logs on my current box are from perl-5.22.1 and IO/Socket/ was installed in chroot at that time, so no need to worry about older systems not having it.

Will remove these unnecessary deps from the perl modules branch.

comment:6 by ken@…, 5 years ago

Owner: changed from blfs-book to ken@…
Status: reopenednew

comment:7 by ken@…, 5 years ago

Status: newassigned

comment:8 by ken@…, 5 years ago

Updated in the perl modules branch at r20500.

comment:9 by Bruce Dubbs, 5 years ago

Milestone: 8.38.4

comment:10 by ken@…, 5 years ago

Resolution: fixed
Status: assignedclosed

Completed in trunk at r20713.

Note: See TracTickets for help on using tickets.