Subject: Re: c-ares 1.7.x can't resolve hostname on some Macs

Re: c-ares 1.7.x can't resolve hostname on some Macs

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 17 Apr 2010 13:11:14 +0200 (CEST)

On Fri, 16 Apr 2010, Charlie Fenton wrote:

> You can see a typical TCP Dump with this configuration at
> <http://boinc.berkeley.edu/dev/forum_thread.php?id=5565&nowrap=true#31740>.
> It appears to be trying an IPv6 lookup, which is refused, but c-ares does
> not fall back to trying IPv4.

This is indeed a known limitation/bug of current c-ares. Ideally, c-ares
should provide a getaddrinfo() style of response with both IPv4 and IPv6
resolves, but it doesn't do that (yet).

We'll appreciate patches.

The difference compared to older versions of c-ares is that then it didn't do
any IPv6 resolve at all by default.

-- 
  / daniel.haxx.se
Received on 2010-04-17