Recommended Free Tools
To flush the DNS cache in Windows 11, run ipconfig /flushdns or, in PowerShell, Clear-DnsClientCache. The four routes below are different ways to open or use those two built-in commands—not four different cache-clearing operations.
Choose one of these four quick routes
1. Use Command Prompt
- Open Command Prompt.
- Type
ipconfig /flushdnsand press Enter.
Microsoft lists Windows 11 as supported and says the command flushes and resets the DNS client resolver cache. Microsoft’s ipconfig documentation
As an Amazon Associate I earn from qualifying purchases.
2. Run the command from the Run dialog
- Press Windows+R.
- Enter
cmd /c ipconfig /flushdns, then select OK.
This launches Command Prompt, runs the same ipconfig command, and closes the command window when it finishes.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →3. Use Windows Terminal
- Open Windows Terminal and choose a Command Prompt profile.
- Enter
ipconfig /flushdnsand press Enter.
This is the same documented command as the Command Prompt route; Terminal is simply another place to run it.
#1 Best Overall
- Connectivity: Includes WiFi, Bluetooth, and LAN for wireless and wired connections
- Memory: Features 16GB DDR4 RAM for smooth multitasking and performance
- Storage: Combines 500GB SSD and 1TB HDD for ample storage space
- Graphics: Integrated Intel UHD Graphics 630 for crisp visuals and video playback
- Design: Sleek desktop tower with black color and slim profile for modern look
4. Use PowerShell
- Open PowerShell.
- Enter
Clear-DnsClientCacheand press Enter.
Microsoft documents this cmdlet as clearing the DNS client cache and says it is equivalent to ipconfig /flushdns. Microsoft’s Clear-DnsClientCache documentation
What flushing the DNS cache does
Windows keeps DNS name-resolution information in a cache on the local computer. Flushing clears and resets that local cache, including negative entries and other dynamically added entries. It can help when Windows is relying on stale or negative cached information. It does not change which DNS server your computer uses, and it cannot by itself fix a broader network or DNS-server problem. Microsoft’s ipconfig documentation
Rank #2
- [INTEL POWERED CONTENT] - Built with a 8th Generation Hexa-Core Intel i5 and 32GB of DDR4 RAM; Modern, Windows 11 ready, with 4K support, Executive multitasking, media streaming and smooth, multi-tab web browsing; Perfect as an all-purpose multimedia computer; built for content creators; Plenty of RAM and Mass storage for photo and video editing powered by Intel HD 630
- [LATEST WIRELESS TECH] - This Dell Desktop Computer easily connects to the internet through the Built In WiFi / Bluetooth
- [SOLID STATE STORAGE] - This Dell Computer setup comes with an ultra-fast 1TB Solid State Drive (SSD); Setup as the primary boot device; Boot and load programs with lightning speed ; Additional expansion available
- [BUY & OWN WITH CONFIDENCE] - From the world's largest Microsoft Authorized Refurbisher; Quality Guarantee and Free Tech Support; Award-winning Customer Service; | Support Sustainable Business
- [MODERN HI-SPEED PORTS] - USB 3.0 (x4) | USB 2.0 (x4) | DisplayPort (x1) | HDMI Port (x1) | Audio Combo Jack (x1) | Audio Out (x1) | RJ-45 Ethernet (x1) | Internal SATA (x3)
If the problem continues
- Check the computer’s IP configuration and confirm that its listed DNS servers are the ones you expect.
- Check whether the computer can reach a configured DNS server. Microsoft notes that failure to ping the server’s IP can point to a connectivity problem, but a firewall may block ICMP, so a failed ping is not conclusive.
- Use
nslookupto test name resolution against the configured DNS server without relying on the Windows DNS client cache.
If those checks do not resolve the issue, the cause may be upstream or network-related rather than stale local cache data. Microsoft’s DNS client troubleshooting guidance
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchDo you need administrator access?
Microsoft’s command documentation does not state that an elevated window is always required. If Windows rejects the command on your particular device, try again in an elevated Command Prompt, Windows Terminal, or PowerShell window; that is a troubleshooting step, not a universal prerequisite.
Quick Recap
Rank #3
- Model: Dell OptiPlex 7050 Small Form Factor (SFF)
- Processor: Intel Core i7-7700 3.60 GHz
- Memory: 32GB DDR4 Ram
- Storage: 1TB Solid State Drive (SSD) Fast Boot + Storage
- Operating System: Windows 11 Pro (64-bit)
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




