How to flush DNS cache
Sometimes it's good to know how to flush the DNS cache on your Linux or Windows box. Here is how to do it:
Published at DZone with permission of Ralf Quebbemann, author and DZone MVB. (source)Linux
Restart the nscd daemon. In case it is not installed install it firstapt-get install nscdthen type the command
sudo /etc/init.d/nscd restartor
sudo service nscd restartThere are a few alternatives to flush the DNS cache under Linux. See this blog posting to get a more complete overview.
Windows
Open a command shell and typeipconfig /flushdns
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)
Tags:





