This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A question on nscd


> 
> >>>>> 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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]