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

Martin Husemann <[email protected]> Tue, 21 Jul 2026 16:18:37 +0200
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Tue, Jul 21, 2026 at 03:56:12PM +0200, vsis wrote:
> You may your rc.conf to use ipv4 by default and still have ipv6 enabled.
> 
> ```
> ip6addrctl_policy="ipv4_prefer"
> ip6addrctl=YES
> ```
> 
> I have no idea how to make this github-especific: that is, to have ipv6 by
> default everywhere else. Maybe ip6addrctl(8) helps.

None of this is required or makes a difference for hosts where the DNS does
not respond with an IPv6 address.

The problem must be something else.

Martin