-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Sep 2006, Patrick Shanahan wrote:
* Carl Hartung <> [09-29-06 14:56]:
I've tried 'man' and 'info' and Google... spent probably a half hour now looking for a succinct, functional description of the differences between nscd and named, i.e which does what?... to no avail. Would please elaborate a little?
:^), I'm not Carlos, but:
:-) ...
ie: named is a server which looks up hostnames and nscd is a cacheing daemon which remembers reciently used hostnames->ip_addresses (I would think similarly to /etc/host where you could put frequently used addresses).
But, and that's why I pointed to the configuration file, it's used only for the passwd, group, and hosts files, nothing more. It does not caches internet names, unless listed in the hosts file. The name of the nscd is missleading. In fact, the man page says as much in the second paragraph: Nscd provides cacheing for accesses of the passwd(5), group(5), and hosts(5) databases through standard libc interfaces, such as getpwnam(3), getpwuid(3), getgrnam(3), getgrgid(3), gethostbyname(3), and others. man pages are, lets say, mandatory reading, but not easy reading, IMO. They are more like a quick way to remember what one already knows but needs refreshing. Thus, for a real internet name cache thing, we need named from bind. As it comes in the rpm, without doing anything, it already works in that manner. We only need to edit /etc/named.conf, find the "forwarders" line, and put there our ISP DNSs. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFHap1tTMYHG2NR9URAmyUAJ999BTniDZ703mnFocvO7wap3mwnwCfcWYF q1lnGZTMV/aG6cisZQWR1VM= =wCmV -----END PGP SIGNATURE-----