How to Flush DNS Cache in Windows
Clear DNS cache to fix website loading issues and outdated domain records.
Before you start
Step-by-step instructions
1. Open Command Prompt as administrator
Search for Command Prompt, then run it as administrator.
You can right-click and select "Run as administrator".
2. Run the flush DNS command
Run the following command to clear the DNS cache.
ipconfig /flushdns
3. Verify and test
You should see a confirmation message. After that, try accessing the website again.
You should see "Successfully flushed the DNS Resolver Cache."
Common issues
Command Prompt must be opened as administrator.
The issue may not be DNS-related. Check network settings or the server itself.
Try restarting the browser or flushing DNS again.
Final check
Flushing DNS is a quick and safe way to fix many website access issues. If problems persist, check network configuration or DNS servers.
About this guide
This guide explains how to flush the DNS cache in Windows to fix website loading issues, outdated DNS records, and connection problems.
How to follow this guide
- Open Command Prompt.
- Run the flush DNS command.
- Verify the success message.
- Test website access again.
Why use this method?
DNS cache can store outdated or incorrect records, which may cause websites to fail loading or resolve to the wrong address.
Frequently Asked Questions
What does flushing DNS do?
It clears stored domain name records so the system fetches fresh DNS information.
Is it safe to flush DNS?
Yes. It only removes cached DNS entries and does not affect files or settings.
Do I need admin rights?
Yes. Command Prompt should be run as administrator.
Will it fix all network issues?
No. It only helps if the problem is related to DNS caching.