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

Reply via email to