From: Tanaka Akira Date: 2006-05-07T00:39:32+09:00 Subject: Re: Resolv::DNS and IPv6 nameservers In article <20060506025652.GA64784@hooker.sin>, Stephan Maka writes: > UDPSocket requires address family given on initialization, so it's not > possible to create an UDPSocket and *then* decide, to which hosts to > send packets to. > > That's a problem for Ruby's resolver if you've got AF_INET6 nameservers > in your /etc/resolv.conf. The following very dirty hack chooses AF_INET6 > for UDPSocket, if the nameserver's address contains colons (:). Thank you for the patch. I'll incorporate it. Please send a ChangeLog entry for that. -- Tanaka Akira