NetBSD-Users archive

[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 (Chuck Swiger) writes:

>It's entirely reasonable to make this configurable, although for the original 
>circumstance Ingolf describes, where "v6 support has already been removed from 
>my kernel -- no interface has a v6 address", it's hardly arbitrary for an 
>IPv4-only system to try A lookups before hoping that an AAAA lookup will 
>return something (and that an IPv4-to-IPv6 tunnel will be available, also).

Can we just decide on how to make this configurable? IMHO it shouldn't
depend on kernel features or settings.

- Environment Variable?
- Configuration File?
- Something else?

Is there prior art?

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index