Powered By

Powered by Blogger

Rabu, 09 September 2009

Quick Tip: How To Flush DNS Cache In Linux, Windows and Mac OSX

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):

Linux:

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


Mac OS X:
lookupd -flushcache

Leopard and later:
dscacheutil -flushcache


Windows:
ipconfig /flushdns

Tidak ada komentar:

Posting Komentar