FAQ's  →  Browsers

Some pages on my site include “affiliate links”. When you follow these and buy something on the other end, I get a small commission. This commission does not raise the price of your purchase. Ever. Not even a little bit.
CHICKLETS

How can I clear my computer’s DNS cache?

On Windows computers, you can clear the DNS cache by entering a single command:

  1. Depending upon your version of Windows, click the Start button or... (in the lower left area of your screen)
  2. Right click on the Command Prompt icon to reveal the Context Menu
  3. Select Run As Administrator in the Context Menu
  4. In the command box that opens, enter ipconfig /flushdns
  5. Hit the Enter key

On Mac computers, you can clear the DNS cache by entering one of three commands, depending upon your version of macOS:

  1. Determine your version of macOS to select the appropriate command of the two listed below (Apple IconAbout This Mac), or simply run all three commands
  2. In your Applications folder, open the Utilities folder, and launch the Terminal app
  3. For versions 10.7, 10.8, 10.9, or 10.10.4 and above, enter sudo killall -HUP mDNSResponder
  4. For versions 10.10.1, 10.10.2, or 10.10.3, enter sudo discoveryutil mdnsflushcache
  5. For versions 10.5 or 10.6, enter sudo dscacheutil -flushcache
  6. Enter your password at the prompt (the cursor will not advance, so don't be surprised if it appears to not be working)
  7. Hit the Enter key

Note that Windows will tell you when the process completes as expected with feedback like Successfully flushed the DNS Resolver Cache, but Mac does not tell you anything at all. Thank you Apple.