Just the next step →

How to Flush DNS in Windows 11

By Iikka Isosaari · Windows 11 · Updated

Windows stores recent DNS lookups in a local cache.

Normally this improves performance because Windows does not need to look up the same domain repeatedly.

Sometimes, however, cached DNS information becomes outdated or incorrect.

The Flush DNS Command

Open Terminal or Command Prompt as Administrator and run:

ipconfig /flushdns

You should see a message confirming that the DNS Resolver Cache was successfully flushed.

What Happens Next?

Windows can resolve the name again after its cached entry is cleared. Browsers and applications may keep separate caches or use encrypted DNS, and the Hosts file can still override a lookup.

When Flushing DNS Can Help

It may help when:

What Flushing DNS Does Not Do

Flushing DNS does not:

It simply clears Windows' local DNS resolver cache.

Want to See the Current Cache?

Run:

ipconfig /displaydns

This displays cached DNS entries currently stored by Windows.

References

Questions about How to Flush DNS in Windows 11

What does ipconfig /flushdns remove?

It clears the Windows DNS resolver cache so the computer can request fresh name-resolution records. It does not reset the router or repair every connection problem.

Will flushing DNS fix slow Wi-Fi or a disconnected adapter?

No. It may help with stale hostname resolution, but radio signal, adapter, router and internet-link problems need different checks.