Quick HOWTO: Flush DNS Cache in Linux


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..