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

[email protected] (beaker) Tue, 21 Jul 2026 13:15:01 -0700
Newsgroups gmane.os.netbsd.general
Message-ID <6a5fd345.ze+bRX/S/q3s9f8o%[email protected]>
Mayuresh <[email protected]> wrote:

> On Wed, Jul 22, 2026 at 12:24:47AM +0530, Mayuresh wrote:
> > search . works, but is that a good fix? I'd prefer if I could control
> > things from rc.conf, as resolv.conf may get overwritten.
>
> Noticed dns_search in `man rc.conf' for this purpose. But that's not
> helping put the setting in resolv.conf.
>

You can dynamically add things to /etc/resolv.conf by creating a
resolvconf.conf file; as example:

    # /etc/resolvconf.conf
    append_search=.

which will append "search ." to whatever dhcpcd generates.

-b