From: ahoward Date: 2003-10-10T01:35:03+09:00 Subject: Re: TCPSocket delay problem On Tue, 4 Mar 2003, Jacob News wrote: > Ruby is making a request for Type AAAA (ipv6) record. > > Dnsquery is making a request for Type A (ipv4) record. > > Try this to see the problem: > > dnsquery -t aaaa ad.doubleclick.net > > which times out after 10 seconds. The DNS server for doubleclick.net > is refusing to answer AAAA queries which is just plain rude, but what > else is new for a company who makes its money by annoying the public? > > Of course a better "solution" would be to ask getaddrinfo() to only > use the protocol types you are interested in (AF_INET). A previous > poster demonstrated how to do this in ruby. Unfortunately, there are > so many domains out there whose dns servers ignore AAAA requests that > using an ipv6-enabled web browser is a straight path to profanity. this is valuable information. thanks for the info! perhaps you should forward your 'better' solution on to ruby-dev? -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================