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

Reply via email to