The Performance Zone is brought to you in partnership with New Relic. New Relic APM provides constant monitoring of your apps so you don't have to.
Sometimes it's good to know how to flush the DNS cache on your Linux or Windows box. Here is how to do it:
Restart the nscd daemon. In case it is not installed install it first
apt-get install nscd
then type the command
sudo /etc/init.d/nscd restart
sudo service nscd restart
There are a few alternatives to flush the DNS cache under Linux. See this blog posting
to get a more complete overview.
Open a command shell and type
The Performance Zone is brought to you in partnership with New Relic. New Relic’s SaaS-based Application Performance Monitoring helps you build, deploy, and maintain great web software.
Published at DZone with permission of
, DZone MVB
Opinions expressed by DZone contributors are their own.