change the line to my ($addr,$port) = $ns =~ /^($IPRe)(?::($PortRe))?$/io;
tell me if this works Thomas Von: "William L. Thomson Jr." <w...@o-sinc.com> An: assp-user@lists.sourceforge.net Datum: 25.02.2015 22:18 Betreff: Re: [Assp-user] ASSP IPv6 DNS On Wednesday, February 25, 2015 03:35:41 PM William L. Thomson Jr. wrote: > > Looks like this is a bug with the regex or something. I added some debug > code. its ripping apart the IPv6 DNS server address and using part of that > for the port instead of 53. > > The DNS server IPv6 address is 2600:3c02::2 > > By the time the IP and prot are passed to getaddrinfo is getting 2600:3c02:, > 2 > > assp.pl[17658]: [Worker_1] Warning: Socket6::getaddrinfo(75.127.97.6, > 53,.... assp.pl[17658]: [Worker_1] Warning: > Socket6::getaddrinfo(2600:3c02:, 2,.... assp.pl[17658]: [Worker_1] Warning: > can't get numeric address for 2600:3c02::2 For the time being I just commented out that code #my ($addr,$port) = $ns =~ /^(.+?)(?::($PortRe))?$/io; #$port ||= 53; Changed to my ($addr,$port) = $ns; $port = 53; Seems to work fine, proper stuff is passed to Socket6::getaddrinfo. Got rid of the annoying error and allows me to use IPv6 for DNS resolution now. -- William L. Thomson Jr. Obsidian-Studios, Inc. http://www.obsidian-studios.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Assp-user mailing list Assp-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-user DISCLAIMER: ******************************************************* This email and any files transmitted with it may be confidential, legally privileged and protected in law and are intended solely for the use of the individual to whom it is addressed. This email was multiple times scanned for viruses. There should be no known virus in this email! ******************************************************* ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Assp-user mailing list Assp-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-user