Archives

How to Clear DNS Cache on Microsoft Windows

This procedure is for Microsoft Windows. For the Apple Mac OSX version of this procedure, click here.

This procedure for flushing the DNS Cache has been tested and works on Windows XP and Windows 7.

  1. Open Command Prompt.
    • Windows XP: Click Start –> Run –> Type: cmd and press the ENTER key.
    • Windows 7: Click the start orb button –> All Programs –> Accessories –> Right mouse click on Command Prompt and select Run as administrator.
  2. Enter: ipconfig /flushdns

All done!

You can now close the Command Prompt window and your cache is now clear.

How to Clear DNS Cache on Mac OSX

This procedure is for Mac OSX. For the Microsoft Windows version of this procedure, click here.

This procedure for flushing the DNS Cache on OS X Yosemite 10.10.4 and later.

  1. Open Terminal
  2. Enter: sudo killall -HUP mDNSResponder
  3. Enter your root password when prompted.

This procedure for flushing the DNS Cache on OS X Yosemite v10.10 through v10.10.3:

  1. Open Terminal
  2. Enter: sudo discoveryutil mdnsflushcache
  3. Enter your root password when prompted.

This procedure for flushing the DNS Cache on Mavericks, Mountain Lion, and Lion.

  1. Open Terminal
  2. Enter: sudo killall -HUP mDNSResponder
  3. Enter your root password when prompted.

This procedure for flushing the DNS Cache has been tested and works on Snow Leopard.

  1. Open Terminal
  2. Enter: sudo dscacheutil -flushcache
  3. Enter your root password when prompted.

All done!

You can now close the Terminal window and your cache is now clear.