Are you unable to browse the Internet because the DNS cache is corrupted? You need to flush the Windows DNS Cache if your computer cannot find a certain website or server. This may happen due to a corrupt local DNS cache. Caching let you access the internet fast, but at 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 from time to time to allow your Windows computer to correctly communicate with the host.
There are 3 types of caches in Windows that can be easily flushed: Memory Cache, DNS Cache, and Thumbnails Cache.
Clearing the Memory Cache to 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 versions 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:
ipconfig /flushdns
You will receive a message like “Windows IP Configuration, Successfully flushed the DNS Resolver Cache.”
Check the DNS Cache
Once the cache is cleared, and you want to confirm the same, use the following command:
ipconfig /displaydns
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 restart the computer, the DNC caching will be automatically turned on. To permanently disable the DNS cache from the services, disable DNS Client.
Also Read: