HomeWinBuzzer TipsHow to Flush DNS in Windows 11 or Windows 10

How to Flush DNS in Windows 11 or Windows 10

We show you how to clear the DNS resolver cache in Windows 11 or Windows 10 using four of the most convenient methods.


This guide will show you how to flush DNS in or using four different methods: CMD, PowerShell, Edge, and Chrome.

The primary goal is to resolve issues that result in “Page Not Found” errors, but you can also use it to improve your security or privacy.

What does flushing DNS do?

To understand what flushing the DNS resolver cache is, you first need to understand what DNS does and the purpose of the cache. DNS stands for domain name system, the mechanism by which the internet translates the URL you type into your browser (winbuzzer.com) into an IP address a computer can understand (

The DNS cache helps with this domain name resolution process by storing a temporary database of your recent website visits and their associated IP addresses. This way, name resolution can be handled locally on your PC rather than having to send a request to a server and wait for the response.

Flushing the DNS cache removes the database of sites and IP addresses on your PC. This is useful in cases where the website or service has changed its IP address and your cache has not updated, causing your browser to direct you to the wrong place.

It can also help to protect you against a type of attack called DNS spoofing, where an attacker modifies your DNS cache to direct you to malicious sites. Finally, it removes records about the sites you have visited from your PC.

⚠️ Please note: The process described below is the same in Windows 11 as it is in Windows 10. However, bear in mind that we'll be using screenshots from Windows 11, so your UI may look a little different. We'll point out any changes you need to be aware of as they come up.

How to Flush the DNS Cache in Windows 11 or Windows 10 in Command Prompt

Command Prompt is the most popular method to clear DNS in Windows, and it's easy to understand why. The flush dns command is short, sweet, and easy to remember:

  1. Press Start and type “Command Prompt”, then click the top result

    Windows 11 - Open Command Prompt

  2. Type “ipconfig /flushdns” in Command Prompt and press Enter

    Once complete, you'll see the message:

    Windows IP Configuration
    Successfully flushed the DNS Resolver Cache

    Try loading your website again to see if flushing the DNS cache solved the issue.

    Windows 11 - Command Prompt - Enter Cmd

How to Clear the DNS Cache in Windows 11 or Windows 10 in PowerShell

If you prefer to use PowerShell as your command line, no worries! The command is even more intuitive there:

  1. Press Start and type “PowerShell”, then click the top result

    Windows 11 - Open Powershell

  2. Type “Clear-DnsClientCache” in PowerShell and press Enter

    Do note that this command won't work unless you have the correct capitalization. It also won't give an output, so you'll just have to take its word that it worked.

    Windows 11 - Powershell - Enter Comd

How to Reset DNS in Windows 11 or Windows 10 via Microsoft Edge

If you don't like using the command line then you can use your Edge browser to flush DNS in Windows instead. The first we'll be looking at is the Chromium version of Microsoft's Edge browser:

  1. Open your browser and enter “edge://net-internals/#dns” in the address bar

    Click “Clear host cache” to flush DNS in Windows 11 or Windows 10.

    Windows 11 - Edge - Adress - Clear

How to Flush the DNS Resolver Cache in Google Chrome

Google Chrome works identically to due them being based on the same browser engine:

  1. Open Chrome and enter “chrome://net-internals/#dns” in the address bar

    Click “Clear host cache” to reset your DNS in Windows 10 or Windows 11.

    Windows 11 - Chrome - Adress - Clear

Extra: How to Clear Browser History in Chrome, Edge, and Firefox

If it's the privacy aspect of the DNS cache you're worried about, you'll probably want to follow our guide on clearing your browser history, too. Your browser history provides a much more accessible way to see the sites you've visited.

Extra: How to Reset your Network

If your pages still aren't loading, following our tutorial on how to perform a network reset might help. It's designed for Windows 10 but will work on Windows 11, too.

Ryan Maskell
Ryan Maskellhttps://ryanmaskell.co.uk
Ryan has had a passion for gaming and technology since early childhood. Fusing the skills from his Creative Writing and Publishing degree with profound technical knowledge, he enjoys covering news about Microsoft. As an avid writer, he is also working on his debut novel.