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

Mayuresh <[email protected]> Wed, 22 Jul 2026 12:16:46 +0530
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Wed, Jul 22, 2026 at 08:37:13AM +0200, Martin Husemann wrote:
> Martin
> P.S.: what we didn't find out so far: why is this related to enabling
> IPv6 in your setup?

On a system with no IPv6 it looks up IPv4 address and finds it.

On a system with IPv6, resolver must be trying domain name heuristics
first before falling back on IPv4.

Unluckily enough (or may be rather luckily, as it uncovered the issue) I
enabled IPv6, I have a .in hostname and github.com.in exists and it hits.

-- 
Mayuresh