How to clear the local DNS cache in Windows

How to Clear the Local DNS Cache in WIndows

If you’ve just changed your site’s nameservers and need to clear your local DNS cache in Windows to check whether the domain configuration changes have propagated through then please follow these simple steps:

Windows 7:

  • Open the Start menu
  • Click on Run
  • Type cmd and press enter
  • In the Command Prompt type: ipconfig /flushdns and press the Enter key
  • Close the Command Prompt

Windows 8, 10:

  • Press Win+X on your keyboard in order to open the WinX Menu
  • Right-click the Command Prompt and select ‘Run as Administrator‘ from the context menu
  • Type in the following command: ipconfig /flushdns and press the Enter key

We also recommend that you clear your browser cache too as this will help to make sure that you’re not viewing a cached version of the website you want to view

Jon Caldbeck

Jon Caldbeck

Jon is the Executive Director of Next Level Web Design and the founder of the Dual Diagnosis Hub CIC which is a website & organisation that provides and signposts the best support, tools & resources for those with co-occurring mental health & addiction issues.

Blog Posts & Tutorials

This section aims to provide you with tutorials, and guides, on how to do tasks that otherwise you'd have to pay for. Please get in touch if there's a tutorial that you'd like added!

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

Privacy Settings saved!
Privacy Settings

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. Control your personal Cookie Services here.

These cookies are necessary for the website to function and cannot be switched off in our systems.

In order to use this website we use the following technically required cookies
  • wordpress_test_cookie
  • wordpress_logged_in_
  • wordpress_sec

For perfomance reasons we use Cloudflare as a CDN network. This saves a cookie "__cfduid" to apply security settings on a per-client basis. This cookie is strictly necessary for Cloudflare's security features and cannot be turned off.
  • __cfduid

Decline all Services
Accept all Services
Skip to content