PuyaGuide

Menu
  • Home
  • How To
  • Android
  • iOS
  • Windows
  • macOS
  • Tech

How to Flush DNS in Windows 10

Do you have issues with DNS resolution? On a Windows 10 device or server, do you need to delete the DNS cache? So, in this guide, you’ll learn how to Flush DNS in Windows 10.

Meanwhile, The most typical reason for flushing your DNS in Windows 10 is that websites aren’t resolving correctly, which could be due to an issue with your DNS cache retaining an inaccurate address.

In the meantime, name resolution information in a temporary file known as the DNS cache to improve the speed and performance of your internet connection. Under typical circumstances, skipping a request to an internet-based DNS server allows you to get to your online destination faster. Generally, the system works well.

However, over time, the cache can become contaminated with incorrect information, slowing down your network connection accidentally. Windows 10 collects data from the cache first, determines that it is corrupted, and then sends a request to a DNS server—a significant waste of time and network performance hit.

What You Will Learn in This Post:
1 What is the benefit of flushing the DNS cache?
2 How to Flush DNS in Windows 10
3 Method 1. Reset DNS Cache via Command Prompt in Windows 10
4 Method 2. Flush DNS via in Windows 10 Windows Command
5 Method 3. Flush DNS Cache via PowerShell
6 View DNS Resolver cache (Optional)
7 What Good Does Clearing the DNS Resolver Cache to Do?

What is the benefit of flushing the DNS cache?

If you can’t access a web page despite it being available on the internet, it’s possible that the local server’s DNS cache is corrupted or broken. Because of DNS Cache Poisoning and Spoofing, bad results are sometimes cached. As a result, they must be removed from the cache in order for your PC to properly connect with the host.

Alternatively, an IP address for a website may vary from time to time. If the DNS Cache contains an old IP address record, your computer may be unable to access the site. Clearing it is thus an action you might perform if you are unable to connect to a website.

How to Flush DNS in Windows 10

Emptying the Memory Cache will free up some system memory while clearing the Thumbnail Cache will ensure that you have enough hard disc space. Problems with internet connection can be resolved by clearing the DNS cache.

In Windows, there are three sorts of caches that you may easily flush:

  • Cache of Memory
  • Cache for DNS
  • Cache of Thumbnails

So, without further ado, here’s how you can flush DNS in Windows 10:

Method 1. Reset DNS Cache via Command Prompt in Windows 10

  • Open Command Prompt also known as CMD as an administrator.

Command Prompt

  • Type the following command and press enter:

ipconfig /flushdns

3 Ways to Flush DNS in Windows 10 via CMD, Run & PowerShell [2021}

  • Here, you’ll see the “Successfully flushed the DNS Resolver Cache.”

Method 2. Flush DNS via in Windows 10 Windows Command

  • Press Windows key + R to open Command Prompt.
  • Now, type the following command and press OK.

ipconfig /flushdns

3 Ways to Flush DNS in Windows 10 via CMD, Run & PowerShell [2021}

Run

  • A command box will flash on the screen for a split second and the DNS Resolver cache is cleared.

Method 3. Flush DNS Cache via PowerShell

  • Open Windows PowerShell as administrator.
3 Ways to Flush DNS in Windows 10 via CMD, Run & PowerShell [2021}

Windows PowerShell

  • Now, type the following command and press enter:

Clear-DnsClientCache 

3 Ways to Flush DNS in Windows 10 via CMD, Run & PowerShell [2021}

View DNS Resolver cache (Optional)

To view the DNS history, open CMD and type ipconfig /displaydns then press enter. This will display all the local cache entries.

View DNS Resolver cache

What Good Does Clearing the DNS Resolver Cache to Do?

A site’s IP address may vary from time to time. It’s possible that your computer won’t be able to contact the site if the DNS Resolver Cache has an outdated IP address record. It’s also possible for cached data to be corrupted. As a result, if you are unable to connect to a website, clearing it is a step you may do.

So these were the three methods to flush DNS in Windows 10.

Read Next:

How to Check RAM Slots in Laptop – Windows 10

How to check Laptop Generation in Windows 10

What is a DNS server?

Share
Tweet
Email
Prev Article
Next Article

Related Articles

How to Add Watermark to Photos in Windows 11 and 10
You might want to add a watermark in your images …

How to Add Watermark to Photos in Windows 11 and 10

How to Set Live Wallpaper in Windows 11 - PuyaGuide
Are you bored of your usual background image and want …

How to Set Live Wallpaper in Windows 11

About The Author

puya

I am an expert How-To content writer. As a tech lover and geek, I enjoy writing and sharing articles about various operating systems such as Android, Windows, macOS, and iOS, as well as other devices such as a wristwatch and smart TV.

No Responses

  1. Pingback: How to Make Windows 11 Bootable USB Drive using Rufus 2021
    June 27, 2021

Leave a Reply

Cancel reply

PuyaGuide

Informative place

About

  • About Us
  • Contact Us
  • Privacy Policy

Categories

Follow us on

Copyright © 2023 PuyaGuide
Theme by Wogale.com

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh