Re: After enabling IPv6 curl github.com fails, succeeds with IPv4
"Jeremy C. Reed" <[email protected]> Thu, 23 Jul 2026 16:25:16 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 23 Jul 2026, Mayuresh wrote: >> Back to NetBSD, see resolv.conf(5) already documents this behavior Sorry I stated "this" poorly. It already documents the NetBSD behavior "this" thread was about. > Can you please pin point? I searched by the word IPv6 in the man page and > could not find the resolution sequence (vary the IP protocol first or > suffixes first). Not about IPv6. "If no domain entry is present, the domain is determined from the local host name returned by gethostname(3); the domain part is taken to be everything after the first `.'." "The search list is normally determined from the local domain name; by default, it begins with the local domain name ..." > I notice (using tcpdump) that Linux varies IPv first and NetBSD suffix > first and find the former to be relatively safer.