Are you unable to browse the Internet because DNS cache is corrupted? You need to flush the Windows DNS Cache if your computer is not able to find certain web site or server. This may happen due to a corrupt local DNS cache. Caching let you access the internet fast, but the same time if bad results are cached, maybe due to DNS Cache Poisoning and Spoofing, then you will be unable to browse the internet. It is necessary to clear the cache time to time to allow your Windows computer to communicate with the host correctly.
There are 3 types of caches in Windows which can be easily flushed: Memory Cache, DNS Cache, and Thumbnails Cache.
Clearing the Memory Cache free up the RAM from your computer while clearing the Thumbnail Cache can free up some space on your hard disk. Clearing the DNS Cache will fix the internet connection problem.
How to Clear, Reset, or Flush Windows DNS Cache?
This method will work on all version of Windows including Windows XP, Vista, 7, 8, 8.1 & 10.
1. Open the command prompt with Administrative privilege.
2. Type the following command and hit enter from the keyboard:
You will receive a message like “Windows IP Configuration, Successfully flushed the DNS Resolver Cache”.
Check the DNS Cache
Once the cache is clearred and you want to confirm the same, use the following command:
The above-mentioned command will display the DNS cache entries if any.
Turn On or Turn Off the DNS Cache
To turn off the DNS cache for a particular session, use the following command:
net stop dnscache
To turn On the DNS cache, type the following command:
net start dnscache
When you will restart the computer, the DNC caching will be automatically turned on. To permanently disable the DNS caching, from the services, disable DNS Client.