On Wed, 8 Dec 2010, Steinar H. Gunderson wrote:
>> Can we really justify that as anything else than a hack?
>
> This is normally what you want, yes; it's hard to get the interaction
> between AAAA/A and search path right in the application (plus most
> applications should not have to reimplement this logic over and over again).
> Doesn't glibc do the same?
The standard gethostbyname() function doesn't have a family argument so we
can't really compare with how that works in POSIX/libc.
-- / daniel.haxx.seReceived on 2010-12-08