Ubuntu / Linux news and application reviews.

There is a simple command for every operating system for quickly cleaning the DNS cache. On Linux and Mac, the command must be typed in a terminal. In Windows, type the command in cmd.exe (Start > Run, type cmd.exe):


Firstly, make sure you have nscd installed:
sudo apt-get install nscd
sudo /etc/init.d/nscd restart

Mac OS X:
lookupd -flushcache

Leopard and later:
dscacheutil -flushcache

ipconfig /flushdns