A question on nscd
H.J. Lu
hjl@varesearch.com
Mon Jul 12 12:07:00 GMT 1999
>
> >>>>> H J Lu writes:
>
> > Hi,
> > In nscd.init, there is
>
> > # description: This is a daemon which handles passwd and group lookups \
> > # for running programs and cache the results for the next \
> > # query. You should start this daemon only if you use \
> > # slow Services like NIS or NIS+
>
> > I was wondering why nscd was only needed for NIS/NIS+. As far as I can
> > tell, it is also useful for DNS. Did I miss something?
>
> The description predates AFAIK the addition of host lookup to nscd and
> should be updated.
>
> You can use nscd for caching DNS queries. Most nameserver setups
> include already a caching name server. Therefore you've got to decide
> who caches the DNS queries: named, nscd - or both.
>
The things I like in nscd are unix domain socket and multi-thread.
--
H.J. Lu (hjl@gnu.org)
More information about the Libc-hacker
mailing list