How to Flush DNS Cache
in Windows 11 — 4 Easy Methods
Websites not loading? Slow browsing? Flush your DNS cache in under 2 minutes — no tech skills needed.
This guide covers 4 easy methods — pick whichever feels easiest for you.
📋 Table of Contents
🔍 What Is DNS Cache & Why Should You Flush It?
DNS (Domain Name System) is like a phonebook for the internet — it converts website names like google.com into IP addresses. Windows stores these records locally in a DNS cache to speed up browsing. But over time, these records can become outdated or corrupted.
Flush DNS via Command Prompt — Fastest Method
This is the most reliable and fastest method to flush DNS cache in Windows 11. Just 1 command and you’re done.
- Press
Windows + S→ type cmd - Right-click Command Prompt → click Run as administrator
- Type the command below and press Enter:
- You will see this success message:
ipconfig /registerdns
ipconfig /release
ipconfig /renew
netsh winsock reset
Restart your PC after running all commands for best results.
If flushing DNS didn’t fix your issue and your internet keeps dropping, read this guide:
Windows 11 Internet Keeps Disconnecting – Complete Fix Guide
Flush DNS via PowerShell
PowerShell is the modern alternative to Command Prompt in Windows 11. It uses a different command but does the exact same job.
- Press
Windows + S→ type PowerShell - Right-click → Run as administrator
- Type the command and press Enter:
- No output message = success (PowerShell is silent on success)
- To verify it worked, type:
Flush DNS via Run Dialog — Quickest Shortcut
This is the quickest shortcut — directly runs the DNS flush command without opening any window manually.
- Press
Windows + Rto open the Run dialog - Type the following exactly:
- Press Enter
- A black window will flash briefly — that means it ran successfully
If your internet shows connected but websites still won’t load after flushing DNS, check this complete troubleshooting guide: Windows 11 No Internet, Secured – Easy Fix Guide.
Flush DNS Cache in Chrome Browser
Chrome has its own separate DNS cache apart from Windows. If a specific website only fails in Chrome, flush Chrome’s DNS cache separately.
- Open Google Chrome
- In the address bar, type exactly:
- Press Enter
- Click the “Clear host cache” button
- Also go to:
chrome://net-internals/#sockets→ click Flush socket pools - Restart Chrome and test
edge://net-internals/#dns | Firefox: Press Ctrl+Shift+Delete → select Cache → Clear Now.| Method | Tool Used | Difficulty | Time | Best For |
|---|---|---|---|---|
| 1 — ipconfig /flushdns | Command Prompt | Easy | 1 min | Everyone — most reliable |
| 2 — Clear-DnsClientCache | PowerShell | Easy | 1 min | Advanced users |
| 3 — Run Dialog shortcut | Win + R | Easy | 30 sec | Quickest method |
| 4 — Chrome DNS flush | Chrome browser | Easy | 1 min | Browser-specific errors |
⚡ After Flushing DNS — Still Not Working?
- Change your DNS server: Go to Settings → Network & Internet → your connection → DNS server assignment → Manual → set Primary DNS to
8.8.8.8(Google) or1.1.1.1(Cloudflare) - Restart your router: Unplug for 30 seconds → plug back in. Router also has a DNS cache.
- Run full network reset: Settings → Network & Internet → Advanced network settings → Network reset
- Check Windows Hosts file:
C:\Windows\System32\drivers\etc\hosts— make sure no entries are blocking the website - Disable VPN temporarily: VPN can redirect DNS requests and cause website loading failures
❓ Frequently Asked Questions
What does flushing DNS cache do in Windows 11?
Is it safe to flush DNS cache in Windows 11?
How often should I flush DNS cache?
Why is my internet slow after flushing DNS?
ipconfig /flushdns says “Access Denied” — what to do?
Does flushing DNS fix “DNS server not responding” error?
For a complete solution to all Windows 11 internet and network problems, read this detailed guide: Windows 11 Internet Problems – Complete Fix Guide.
✅ Bottom Line
Flushing DNS cache in Windows 11 is one of the fastest and safest fixes for slow browsing, website errors, and DNS issues. Use Method 1 (ipconfig /flushdns) — it works in under 60 seconds and solves the problem for most users. If the issue persists, change your DNS server to 8.8.8.8 or 1.1.1.1 for a permanent fix.
Pingback: - FixTechUSA
Pingback: DNS Server Not Responding Windows 11 – 10 Fixes That Work (2026)