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

Martin Husemann <[email protected]> Tue, 21 Jul 2026 20:50:45 +0200
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Wed, Jul 22, 2026 at 12:04:33AM +0530, Mayuresh wrote:
> That implicit suffixing is seen happening in tcpdump for other domain
> names, too, when the given name fails to find AAAA record.
> 
> It's .in, possibly because my hostname ends in that.

No, that is no good reason for it.
There must be a "domain" or "search" entry in /etc/resolv.conf.

If the provider is adding that unexpectedly in their DHCP reply, you can
make resolvconf(8) ignore it via /etc/resolvconf.conf's "exclude"
option.

Martin