How to flush DNS on Windows 10 and Windows 11

  • Share

In some cases when you have trouble connecting to the internet the reason behind it can be your PC’s DNS cache. If you have already tried to clear your browser cache and cookies, you will have to flush your Windows 10 or Windows 11 DNS. In this article, we will discover how to flush DNS on your Windows PC.

First let’s discover what the Windows DNS cache does

DNS stands for Domain Network System. The main role of the DNS is to translate familiar domain names like into IP addresses computers use to connect with each other. For example, if you want to connect to, your computer queries a DNS server on the internet to get the corresponding IP address connected to the domain. Windows 10 and Windows 11 store a copy of the information it gets from the DNS server on your PC, so the process can be faster.

When will you have to flush your DNS cache

Most of the systems connected to the internet automatically update the cache and hostnames, you can have problems when the IP address of a webpage changes before the update. If that is the case you can have connectivity issues, with the page failing to load in your browser. When you flush your DNS all the stored information on your PC is removed. This forces your computer to retrieve new data that will solve your connectivity issues.

So how can you flush your DNS on your Windows 10 or Windows 11 PC?

  1. Using Command Prompt

    1. Open the Start Menu and in the search bar type cmd and select Run as Administrator.
    2. Copy and paste the following command: ipconfig /flushdns and press Enter.
      cmd window

    Your Windows 10 or Windows 11 DNS cache should be flushed. You will get a message saying the operation is successful.

  2. Using Windows PowerShell

    Another way to flush your Windows DNS is by using PowerShell. Here is how to do it:

    1. Open the Start Menu. In the Search bar type PowerShell and click Run as administrator.
    2. Copy and paste the following command: ipconfig /flushdns and press Enter. This will clear the DNS cache on your computer.
      powershell window
  3. Using a Run Command

    1. Press Win Key + R and type the following command: ipconfig /flushdns and hit Enter.
      run window
    2. Your DNS cache should be erased from your Windows 10 or Windows 11 computer.

Flushing the DNS cache may seem like a lot of technical jargon, but it’s a simple process, as you now know.

In Windows 10 and Windows 11, there are several ways to flush the DNS cache, including using the Command Prompt, PowerShell, and the Run command.

So, go ahead and flush your Windows 11 computer’s cached DNS data to resolve any underlying connectivity issues and improve your privacy.

icon of revo uninstaller pro

We can help you every time when…

  • you cannot find the program in the Apps & Features list
  • the program's built-in uninstaller is non-functional
  • you have a lot of leftovers slowing down your computer's performance
  • you want to batch uninstall
  • many more things
Download now

1 Comment

Larry Miller says:

I have been using Revo Uninstaller for several years, it is the best Uninstaller ever. Revo always solves the problems of leftover files and registry entries.

Leave a Reply

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