3 ms·
nscd, which is part of the GNU C library, is a cache. Moreover: Strictly speaking what is in the C library, to use the jargon, is a stub resolver; with all of
by JdeBP 9y ago
nscd, which is part of the GNU C library, is a cache.
Moreover: Strictly speaking what is in the C library, to use the jargon, is a stub resolver; with all of the things that you mention not actually belonging in the C library in the first place.
- pas 9y agoYes, you're of course right. And Ubuntu used dnsmasq as a caching resolver for quite a long time. (Via using 127.0.0.1 in /etc/resolv.conf) systemd-resolved is sort of the same thing (and it listens on 127.0.0.53, which doesn't require the DBus dance that the nss plugin does) I don't know why systemd reinvented the wheel (nscd), but probably because nscd lacks a DBus API.