While we're on the topic of caching, I do have to pipe up and say that nscd does a super job for places where things like that are an issue. I had a server with a couple million files on it. Doing backups took forever -- each file had to do a network call (LDAP) every time a file was stat()'d... which, during backups, was several times a second.
Installing nscd -- with a relatively low timeout (five minutes, IIRC) -- reduced my backup times by close to *two thirds*. One last thing: Firefox and IE (and other browsers, I presume, though I lack empirical evidence) also cache DNS. This can sometimes lead to irksome/unexpected results. -Ken On Tue, February 9, 2010 2:07 pm, Ken D'Ambrosio wrote: > On Tue, February 9, 2010 2:00 pm, Paul Flint wrote: > >> Greetings List Lurkers, >> >> >> >> How do I display the DNS cache on my Linux workstation? >> > > You don't. There isn't one... unless you: > - Install a local caching DNS server (I like MaraDNS) > - Install "nscd" (name-services caching daemon) > > > The rest of the time, it simply queries the DNS server of choice, which, > itself, is almost certainly a caching DNS server, and frequently on your > local subnet (e.g., your wireless router frequently does this). > > -Ken > > > > >> >> Kindest Regards, >> >> >> >> >> >> Paul Flint >> (802) 479-2360 >> >> >> >> >> /************************************ >> Based upon email reliability concerns, >> please send an acknowledgment in response to this note. >> >> Paul Flint >> Barre Open Systems Institute >> 17 Averill Street >> Barre, VT >> 05641 >> >> >> >> http://www.bosivt.org >> http://www.flint.com/home >> skype: flintinfotech >> Work: (202) 537-0480 >> >> >> >> Consilium _ >> gratuitum .~. ASCII ribbon campaign ( ) valet /V\ >> against HTML e-mail X quanti /( )\ www.asciiribbon.org >> / \ >> numerantur ^^-^^ >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is believed to be clean. >> >> > > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is believed to be clean. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
