How to clear the DNS cache on Windows

How to clear the DNS cache on Windows

DNS is a service that looks up domain name ( and resolves it to an IP address ( This is useful because computers talk in numbers but names are easier for humans to deal with.

Windows caches DNS requests - this means that each time is asks for a DNS resolution it stores the answer locally. This is great, as it saves time - there's no point asking for the same information 100 times.

In some circumstances, the DNS may have changed. This is particularly relevant when you move a website from one host to another for example.

You can force Windows to clear the cache and make sure it requests the latest information. This is done on Windows 10 by following these steps:

  1. Right click on the start button.
  2. From the menu that appears, choose "Windows PowerShell". If this isn't available, choose "Command Prompt".
  3. In the window that pops up, enter the following command and press enter:
  1. ipconfig /flushdns
You should be presented with an output that says "Successfully flushed the DNS resolver cache"

Flushing the DNS cache on Windows doesn't necessarily guarantee the most up to date information. DNS can be cached on your router, or even with your ISP. DNS can take up to 48 hours to propagate around the Internet fully.

    • Related Articles

    • Synchronising files in Teams to Windows Explorer

      Storing your files in SharePoint (which is used within Teams) is great for many reasons: resilience, version history and collaboration to name a few. Sometimes though, it's easier just to use files in Windows Explorer, as this is what we are more ...
    • How to export system information on Windows 10

      To export your system information from Microsoft Windows 10, follow the steps below: Press the windows key and the "R" key on your keyboard at the same time. This will pop up a "Run" dialog. Enter "msinfo32" into the box and click OK. Click on File, ...
    • Enrol a Windows 10 device into Meraki Systems Manager

      To enrol a Windows 10 device into Meraki Systems Manager: Log in to your Meraki Dashboard: Make sure you have the right organisation and network selected. Select Systems Manager, Add Devices. Click on the Windows tile. ...
    • Change the password for your local Windows 10 account

      If you need to change the password for a Windows 10 Local account, follow these instructions. Open Settings. Click on Accounts. Click on Sign-in options. Under the "Manage how you sign in to your device" section, select the Password option. Click the ...
    • Check your Windows device for predictive hard drive failures using SMART

      S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology; often written as SMART) is a monitoring system included in computer hard disk drives (HDDs), solid-state drives (SSDs), and eMMC drives. Its primary function is to detect and report ...