On 5 Feb 2005, at 18:56, Gérard Milmeister wrote:
I have some questions about caching nameservers.
My home PC is on dhcp that changes IP address every 12 hours. I also
have registered at no-ip.org, so that I can connect from the PC at work
using a named address. However nscd does not update its cache. I have
set "positive-time-to-live" to "3600", but that doesn't seem to have any
effect. I also set "persistent" to "no", so that restarting nscd DOES
get the changed IP address.
What is the difference of having caching-nameserver installed with named
running and having nscd running in addition?
AFAIK, nscd is not limited to caching host-IP entries, but can only cache username-UID, groupname-GID entries. This kind of caching can reduce network traffic when you are using directory services like NIS, NIS+ or OpenLDAP to store user and group information.