How do I clear my DNS cache?

Updated by Josselyn Rodriguez

If you have any issues where your domain is not resolving properly and it is giving you errors such as "Server not found" or showing the wrong site, then try clearing your DNS cache. Please refer to the steps below to clear the DNS cache in your computer.

Windows 10

  • Go to Start > Command Prompt. In the new command prompt window, type the following. ipconfig /flushdns. If successful, you should receive the following message: Windows IP Configuration Successfully flushed the DNS Resolver Cache.

Windows 8

  • Go to  Start > Run > type cmd and press enter. Type  ipconfig /flushdns. If you're successful, you should receive the message Windows IP configuration successful flushed the DNS resolver cache

Linux

  • Restart the nscd daemon. For this, go to your terminal and type /etc/rc.d/init.d/nscd restart

OS X Leopard

  • Type lookupd -flushcache in your terminal to flush the DNS resolver cache

OS X 10.5, 10.6

  • Go to Applications > Utilities > Terminal
  • Run dscacheutil -flushcache in your terminal to flush the DNS resolver cache 

OS X 10.7, 10.8, 10.9

  • Go to Applications > Utilities > Terminal
  • Run killall -HUP mDNSResponder

OS X 10.10.1, 10.10.2, 10.10.3

  • Go to Applications > Utilities > Terminal
  • Run discoveryutil mdnsflushcache

OS X 10.4 and above

  • Go to Applications > Utilities > Terminal
  • Run killall -HUP mDNSResponder

Having trouble? Contact us and our team will be happy to help.


How did we do?