nscd cacher problem

Jurek Bajor jurek.bajor at gmail.com
Thu Jul 1 18:38:24 UTC 2010

  On 07/01/2010 10:42 AM, Tom Horsley wrote:
> Unfortunately, enabling or disabling IPV6 doesn't seem to have
> much to do with the library doing V6 DNS lookups. I could
> swear there was something added to nsswitch.conf or resolv.conf
> that you could set to disable v6 dns requests, but I can't
> remember what it was called.
> I run bind as a caching nameserver, forwarding lookups to my
> ISP's server and set the -4 option on the command line to
> make it stick to ipv4 and all my DNS lookup problems vanished.
>>  bind is too complex to run and maintain.
>>  Really, it is a huge overkill for what I need.

>>  I hope nscd authors will fix it soon so it does not
>>  purge it's cache every few seconds. I check'ed it's
>>  config file and the
>>  restart-interval        3600
>>  seems reasonable.

I think that the default "restart-interval        3600", that is 3600
secs = 1hr,
is a low/impractical value. I mean you want to keep your cache for much longer,
perhaps a week or more ... It is why one wanted it in the first place.

Btw, there is a very good alternative (to BIND, etc) for DNS caching, namely
dnsmasq package. It is simpler, easier on resources.
I switched from bind to it and it serves me well.
It is part of F13, used in other distros (Slackware, etc).
> yum info dnsmasq

More information about the users mailing list