Subject: Re: ares_gethostbyname()

Re: ares_gethostbyname()

From: Daniel Stenberg <>
Date: Sun, 23 Jul 2006 12:09:23 +0200 (CEST)

On Sat, 22 Jul 2006, Gisle Vanem wrote:

> I'm curious as to why the following code in ares_gethostbyname.c (line 174)
> was added:


Dominick did that in his IPv6 work. Are you still around and remember why this
was added like this?

> Not what was intended AFAICS; only AAAA lookups should be performed when
> ordered to.

I'm under the impression that the IPv6 parts of c-ares still aren't very
widely used and might still suffer from artifacts like this. For example, we
don't use it for ipv6 in libcurl.

   c-ares -- my preferred DNS asynch resolver library
Received on 2006-07-23