Global Header
,
2 Mins Read

How to Flush Your DNS Cache

Home Blog Domains DNS How to Flush Your DNS Cache
Things to Keep in Mind When Picking a WordPress Theme

Flushing your DNS cache can solve internet problems and ensure you’re seeing the latest version of websites. This guide covers how to clear the DNS cache on various operating systems to improve your web browsing experience. Sometimes a bad DNS entry will be cached, and you will need to either flush the DNS cache to get rid of it or wait up to 24 hours for it to be dropped from the cache automatically.

Flush DNS in Windows

  1. Click on Start button.
  2. Select Run…
  3. Type “cmd” and press OK button.
  4. You should see the following line: C:Documents and SettingsUser>. Type:
   ipconfig /flushdns
  1. You will see a message containing the following:
    “Windows IP Configuration Successfully flushed the DNS Resolver Cache.”
  2. Type “exit” to close the prompt.

Flush DNS in Mac OS X

  1. Click on Finder in the dock.
  2. Click on Macintosh HD.
  3. Click on Applications.
  4. Click on Utilities.
  5. Double-click on Terminal.
    In Mac OSX Leopard, you can use the following command to flush the DNS resolver cache:
dscacheutil -flushcache

In Mac OSX versions 10.5.1 and before, the following command performs the same task:

   lookupd -flushcache 

Flush DNS in Linux

  1. In Linux, the nscd daemon manages the DNS cache. To flush the DNS cache, restart the nscd daemon. To restart the nscd daemon, use the command:
/etc/init.d/nscd restart 

These steps for the various OS will cause your DNS cache to be successfully refreshed.

  • Hi, I’m Garima, a passionate content writer with 3 years of experience crafting engaging and informative pieces. Beyond writing, I’m an adventurous foodie, always eager to explore new cuisines and savor unique flavors, turning every dish into a memorable experience.

Learn more about Bluehost Editorial Guidelines
View All

Write A Comment

Your email address will not be published. Required fields are marked *

Longest running WordPress.org recommended host.

Get Up to 61% off on hosting for WordPress Websites and Stores.