NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



Mayuresh <mayuresh%warunjikar.in@localhost> 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


Home | Main Index | Thread Index | Old Index