[PATCH] add AI_ADDRCONFIG to fix ipv4 DNS errors with ipv6
Paul Marks
paul at pmarks.net
Wed Jan 16 01:16:44 UTC 2013
On Tue, Jan 15, 2013 at 5:01 PM, Denys Vlasenko
<vda.linux at googlemail.com> wrote:
> On Tuesday 15 January 2013 03:44, Kevin Baker wrote:
>> AI_ADDRCONFIG is specified in RFC2553 to only return IPv6 data if an
>> IPv6 interface works; otherwise only return IPv4 data.
>>
>> This fixes wget and possibly others which error out when no IPv6
>> lookup is available, even with valid IPv4 DNS data coming back.
>
> Did you try to ENABLE_FEATURE_PREFER_IPV4_ADDRESS in .config?
The purpose of AI_ADDRCONFIG is to prefer IPv6 unless the network
obviously does not support it. Wouldn't
ENABLE_FEATURE_PREFER_IPV4_ADDRESS have the effect of avoiding IPv6,
even on modern networks?
More information about the busybox
mailing list