A question on nscd

Jonathan Larmour jlarmour@cygnus.co.uk
Mon Jul 12 12:22:00 GMT 1999


"H.J. Lu" wrote:
> > >>>>> H J Lu writes:
> >
> >  > 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.

As I understand it, nscd doesn't use the DNS TTL data, and so is inferior to
a caching BIND. Therefore it is better to avoid it if you are using DNS.

Jifl
-- 
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
"I used to have an open mind but || Get yer free open source RTOS's here...
 my brains kept falling out."    || http://sourceware.cygnus.com/ecos
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault


More information about the Libc-hacker mailing list