Re: After enabling IPv6 curl github.com fails, succeeds with IPv4
Martin Husemann <[email protected]> Wed, 22 Jul 2026 08:56:45 +0200
| Newsgroups | gmane.os.netbsd.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 22, 2026 at 12:22:02PM +0530, Mayuresh wrote: > On Wed, Jul 22, 2026 at 08:37:13AM +0200, Martin Husemann wrote: > > On Wed, Jul 22, 2026 at 12:02:33PM +0530, Mayuresh wrote: > > > If neither the search option in the /etc/resolv.conf file or the > > > ''LOCALDOMAIN'' environment variable is used, then the search list of > > > domains contains only the full domain specified by the domain option > > > (in /etc/resolv.conf) or the domain used in the local hostname > > > > And this is exactly what happens with NetBSD too. > > No. We try github.com.in when the hostname is warunjikar.in. Per above > note, it should have (if at all) only tried github.com.warunjikar.in. The "domain used in the local host name" is ".in" (with host part = warunjikar), so it behaves exactly as described. Martin