NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: After enabling IPv6 curl github.com fails, succeeds with IPv4



On Wed, 22 Jul 2026, Mayuresh wrote:

One thing I notice is, Linux fires both IPv4 and IPv6 queries first and if
both are unresolved then only it goes into domain name heuristics. That
makes it a little safer.

What does this mean? Asks for A and AAAA addresses? So the "A" has answer and the "AAAA" does not, and since at least one has an address the local resolver doesn't retry using the local domain appended? And since you you required -6 it fails immediately (on Linux)?

Back to NetBSD, see resolv.conf(5) already documents this behavior (which I also don't like). I had seen it in tcpdump before many times (and again today). I thought this was discussed in one of our lists but cannot quickly find it now.

Home | Main Index | Thread Index | Old Index