How To Flush DNS Windows 10 [Error Fixed]

Are you suffering from an Internet connection problem? Whether DNS cache corrupted? or Facing DNS issues? Looking for ways to resolve Flush DNS Windows 10?

Maybe you’ll need to flush out the DNS cache. If your computer is finding it difficult to reach a certain website or server, the problem is due to a corrupted local DNS cache.

DNS is a temporary database, maintained by the computer’s operating system, contains the records of a computer’s history, which includes recent website visits.

A record of IP address will be created within Windows if you visit the same website again. These records make the DNS cache also called as DNS resolver cache.

If you can no longer access a certain website that you have been visiting many times, you need to Flush DNS to remove the old records. Here are some of the reasons:

  • The IP address of a particular site changes. If the old IP address is still on your computer’s DNS cache, then you might not be able to access the site.
  • Bad results will be cached. Because of the DNS cache poisoning or spoofing, some bad results might be cached and you can’t visit the site again.
  • DNS cache can be broken or corrupted. Although the page exists on the internet, you can’t access this page if the DNS cache is corrupted or even broken.

Flush Windows DNS Cache

You can flush your caches in Windows by using these different methods given below:

  1. DNS Cache
  2. Memory Cache
  3. Thumbnails Cache

Clearing Cache can free up some memory in your system, clearing the thumbnail cache can free up space in your hard disk, and clearing the DNS cache can fix your internet connection problem.

Using Run

Open the Run dialog box and type the following command then press enter.

  ipconfig /flushdns 
Flush DNS Windows 10

A command box will now flash on the screen and the DNS Cache is cleared now.

Using PowerShell

  1. Right-click on the Start button and choose the Windows PowerShell (Admin).
  2. Type the following command and press “Enter”.
 Clear-DnsClientCache 
Flush DNS Windows 10

Using Command Prompt

  1. Open “command prompt” as administrator.
  2. Type the following command and hit enter:
 ipconfig /flushdns 

A command box will now flash on the screen and the DNS Cache is cleared now.

What to do if you can’t Flush DNS Windows 10 Cache

Sometimes, you may fail to Flush DNS cache as DNS Client service is disabled. If you are facing this problem, just enable it to fix it.

Step 1: Open Run command and type services.msc and click OK.
Step 2: Locate the DNS Client service and open Properties(right-click it) from the context menu.
Step 3: In Properties window of the service, set the Startup type as Automatic under the General tab and click Start to start up the service.

Flush DNS Windows 10

Do you want to turn off or turn on your DNS cache for certain reasons? Yes, this operation can be done using the following command in the Command Prompt and press Enter.

To turn off- net stop dnscache 
To turn on-  net start dnscache 

NOTE- DNS will be turned on automatically when you restart your computer, even if you have turned it OFF.

Conclusion

When you Flush DNS Windows 10 cache, it removes all the entries and deletes your invalid records. A router also has a DNS cache as well. And that’s why rebooting a router is often a troubleshooting step.

That’s all about flushing the DNS cache. I hope this article will be helpful for Flush DNS Windows 10 cache. If you have any problems or queries, leave them in the comment section below, we will help you out through it.

Leave a Reply