Installing and configuring the nscd daemon can greatly improve the performance of any activity that requires host lookups. Examples would be web browsing, ftping, wgeting, etc.
Tools you will need:
3. device or fingers to clickey click the keyboard
4. file editing skills
1. install nscd
2. configure nscd.conf
3. start nscd
4. set nscd to start at boot
By default /etc/nscd.conf contains:
enable-cache. . hosts. . no
Change it to:
enable-cache. . hosts. . yes
The positive ttl and negative ttl are displayed in seconds. Set them to a reasonable value. Mine are positive = 86400 and negative = 20.
Important! If you are running a service that relies on forward/reverse lookup checks, don't do this! An example would be, if you are running an smtp server which only accepts email from a host with a valid ptr record.
Average home users should see a significant increase in performance because we are reducing the number of lookups your machine has to perform.