On Tue, Sep 22, 2026 at 11:31:59AM +0200, Vincent Lefevre wrote: [...]
> This does not say how nscd uses nsswitch.conf (/etc/nsswitch.conf
> contains "hosts: files dns", so "dns" applies, but this does not say
> how name resolving is done). The nscd developers should document that
> first.
It does and they do. Quoting from man (8) nscd:
FILES
/etc/nscd.conf
Nscd configuration file. See nscd.conf(5) for more
information.
/etc/nsswitch.conf
Name Service Switch configuration. See nsswitch.conf(5)
for more information.
(my guess is that nscd uses more or less libc's plain old non-caching
resolver, but caches things along their way).
Cheers
--
t
signature.asc
Description: PGP signature

