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

Mayuresh <[email protected]> Wed, 22 Jul 2026 13:06:12 +0530
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Wed, Jul 22, 2026 at 08:56:45AM +0200, Martin Husemann wrote:
> The "domain used in the local host name" is ".in" (with host part = warunjikar),
> so it behaves exactly as described.

That's right. I just confirmed this on a Linux system.

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.

BTW, my original problem is partly because my hostname = domainname? Bad
practice? But I don't find that to be so uncommon.

-- 
Mayuresh