Re: nsswitch what should come first
On Thu, Aug 01, 2024 at 14:30:05 +0000, fxkl47BF@protonmail.com wrote:
> my nsswitch.conf is "hosts: files mdns4_minimal [NOTFOUND=return] dns"
> i don't remenber changing it in the past few decades
> i recently had a situation that made me question the ordering
> my dns server is my primary router
> should dns be first
It would be *extremely* unusual to want to consult DNS before /etc/hosts.
I recommend leaving files first unless you have a *really* good reason
to switch them.
I have no comment on mdns4_minimal because I don't really know what that
is.
Reply to: