[Solved]: How do I get nscd working?

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Sat Dec 24 06:07:59 UTC 2005


On Tue, Dec 20, 2005 at 11:43:03PM -0500, Walter Dnes wrote
>   My system is connecting to the net, but nscd doesn't seem to be
> caching DNS requests.

  Actually, it was working.  I recommend not using google.com for
testing nscd.  Google uses some load-balancing magic...

[m3000][waltdnes][~] host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 72.14.203.104
www.l.google.com has address 72.14.203.99

[m3000][waltdnes][~] host 72.14.203.104
Host 104.203.14.72.in-addr.arpa not found: 3(NXDOMAIN)

  The default "negative-time-to-live" value causes problems for me.  If
you get a timeout due to slow DNS, additional requests immediately
return with the cached negative result.  I've set...
negative-time-to-live   hosts           2

  It works OK, and some web forums (bleagh) definitely run faster.

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list