[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/42405: libc: getaddrinfo() should perform T_A lookups before T_AAAA lookups, was: Resolver problems
>>>>> On Fri, 4 Dec 2009 15:45:16 +0000
>>>>> Matthias Scheler <tron%zhadum.org.uk@localhost> said:
tron> On Fri, Dec 04, 2009 at 10:19:36AM -0500, Greg Troxel wrote:
> I see. Well, perhaps some kind of "don't do AAAA lookups" runtime
> config would help such people.
tron> Yes, that is the solution which is currently discussed. Ideally
tron> wand the following settings:
tron> Query AAAA first, then A
tron> Query A first, than AAAA
tron> Query only AAAA
tron> Query only A
> I wonder how many people are suffering from this ...
tron> I don't know that. But considering that some people get nervous when
tron> ftp(1) reports that IPv6 doesn't work before it tries IPv4 it
tron> might be good to have an option to look up A records first.
The getaddrinfo(3) queries A before AAAA on FreeBSD. But,
getaddrinfo(3) still returns AAAA 1st by default.
You may want to see the following diff:
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
Main Index |
Thread Index |