How to Flush DNS Cache Windows 10/11
DNS cache is a temporary database maintained by your operating system that contains records of all recent and attempted visits to websites and other internet domains.

DNS (Domain Name System) is your PC’s way of translating website names (that people understand) into IP addresses (that computers understand). Windows PC cache DNS results locally (on a temporary database) to speed up future access to those hostnames. The DNS cache contains records of all the recent visits and attempted visits to websites and other internet domains. However, sometimes the DNS cache can become outdated or corrupted, causing connectivity issues or loading problems. Flushing the DNS cache can resolve these issues.
If you find your self web pages not opening, having internet connection problems, DNS server not working or DNS cache corrupted, All you have to flush DNS cache that helps resolve DNS related problems that include Website not found, Web browser unable to view certain web pages etc.
“Flushing” is simply the process of emptying out the cache records.
Note: We tested the method on Windows 11/10 but it should work fine on devices running Windows 8.1, 8, 7, Vista or XP even Windows Server 2012, 2008, 2000.
Flush DNS using the Command line
- Press Windows + R, Type ipconfig /flushdns and press the enter key.
- Or open the Command prompt as administrator, type ipconfig /flushdns and press the enter key
- This will flush the DNS cache and you will get a message saying “Successfully flushed the DNS Resolver Cache“.
Also, you can use the command:
- ipconfig /displaydns: To Check out the DNS record under Windows IP configuration.
- ipconfig /registerdns: To reregister DNS entries.
- ipconfig /release: To Release your current IP address settings.
- ipconfig /renew: Reset and request a new IP address to DHCP server.
Clear Google Chrome cache
To clear cache for Chrome browser
Open Google Chrome, on the address bar type chrome://net-internals/#dns and enter.
Click on “Clear host cache.”
That’s all.
Why Flush DNS Cache?
There are several reasons you might want to flush your DNS cache:
- Website Not Loading: If a website has moved to a new server or has a new IP address, your DNS cache might still hold the old IP address, causing the site to load incorrectly.
- Privacy Concerns: Flushing the DNS cache can remove traces of websites you’ve visited.
- Security: A corrupted DNS cache can lead to security vulnerabilities such as DNS spoofing or cache poisoning.
- Troubleshooting: General network troubleshooting steps often include flushing the DNS cache to resolve various connectivity issues.