If are you Facing an internet connection issue, or a DNS problem then you may need to flush or clear the DNS cache in Windows 10.
Before proceeding, first, let’s see which type of cache problem a user can face while accessing the computer.
A computer usually has three types of cache:
Memory, Thumbnail, and the third one are DNS Cache.
The first two types of cache are usually related to your local cache and upon clearing them, you might free up your computer’s hard disk. While the third one i.e DNS cache is purely related to the internet.
So DNS Cache (sometimes called DNS resolver cache) is a type of temporary database maintained by a computer’s operating system that contained all records of the recent visit to all websites or web servers.
When talking about the issue with your DNS cache, it might occur when you are trying to access a certain website or server and your local computer DNS cache might not allow you to access them or you may be facing any IP address conflict. Sometimes you have visited the site and stored a bad cache. Therefore it becomes necessary to flush the local DNS cache to enable the computer to access the specific server again.
Learn to block certain websites on your computer.
Steps to Clear DNS Cache in Windows 10:
Follow the steps to flush or clear the Windows 10 DNS cache.
Use Command Prompt:
In order to access the windows commands prompt application, just search command prompt and right-click on the command prompt, and choose run as administrator.
For Windows 8 and earlier versions, you can press Windows key+R to access Run and then type cmd to search for a command prompt.
(Click Allow if a notification appears)
1-The Windows Command Prompt will appear, just the command ipconfig /flushdns and press ENTER.
2-The following message lines will appear on the command prompt screen:
Windows IP Configuration
Successfully flushed the DNS Resolver Cache
Use Windows Power Shell:
Windows 10 users can clear DNS Cache by using the default windows Power Shell program:
- Right-click the Start Button and click the Windows Powershell (admin) to run the program as admin.
- Click yes if Windows ask for any permission.
- Type the command ipconfig /flushdns and press Enter.
That’s all, you have successfully cleared the DNS cache in Windows 10 as well as in the previous versions of windows also.
Want to Confirm whether DNS Cache Flushed:
If you want to confirm whether the DNS caching of your windows has been flushed or cleared, just open again Command Prompt and type the following command, and press enter:
This will confirm the cache clearance.
In this way, you can clear the DNS cache to access a particular site or web server.
Do comments with your feedback.