How To Flush The DNS
You can flush your DNS cache as per the following:
1) For Windows- Start -> Run -> type cmd
- in command prompt, type ipconfig /flushdns
- Done! You Window DNS cache has just been flush.
- in command prompt, type ipconfig /flushdns
- Done! You Window DNS cache has just been flush.
2) For Linux
- To restart the nscd daemon, type /etc/rc.d/init.d/nscd restart in your terminal
- Once you run the command your linux DNS cache will flush.
3) For Mac OS X
- type lookupd -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ lookupd -flushcache
- Once you run the command your DNS cache (in Mac OS X) will flush.


















jc8654 said,
October 1, 2007 @ 10:51 pm
Just to add to this, in Windows Vista you will need to run the command prompt as an administrator. Instead of the method above do the following:
1) Go to Start, All Programs, Accessories and then Right Click ‘Command Prompt’.
2) Select ‘Run as Administrator’ and then type ipconfig/flushdns and it should work.