How to Flush DNS on Windows
Windows 11; Windows 10 differences noted where they exist · Last checked · Suggest an edit
https://instructions.wiki/windows/flush-dns-on-windows
Windows caches the IP address for every domain you visit. When a site moves servers or you change DNS records, the cached answer can be wrong. Flushing it forces a fresh lookup.
Open Command Prompt
Press Windows + R, type cmd, and press Enter. Administrator rights are not required for this command.
Run the flush command
ipconfig /flushdns
You should see:
Successfully flushed the DNS Resolver Cache.
That is it. The cache is empty and the next lookup goes to your DNS server.
Check what Windows resolves now
nslookup yourdomain.com
The address shown is the fresh answer. If it is still the old one, your PC is fine and the stale record is upstream, at your router or ISP.
Clear Chrome's separate cache if needed
Chrome keeps its own DNS cache. Paste this in the address bar and click Clear host cache:
chrome://net-internals/#dns
If it still resolves wrong. Restart your router to clear its cache. If that does not help, the record's TTL has not expired at your ISP yet. Usually that is under an hour.