Quick HOWTO: Flush DNS Cache in Linux

By Parthiban Ponnusamy


nscd (Name Service Cache Daemon) daemon provides caching service for the name service requests in Linux.

To configure the nscd caching service, edit /etc/nscd.conf

To Flush the DNS Cache in Linux server:

# /etc/init.d/nscd restart  
           OR 
 # service nscd restart


Hope this helps..