IPConfig Could Not Flush the DNS Resolver Cache: How to fix this error

Madalina Dinita
by Madalina Dinita
Managing Editor
Loading Comments
Affiliate Disclosure

ipconfig /flushdns not working

As an operating system, Windows comes with its own quirks and niggles, however for every problem there also exists an equally powerful solution. Tools like Powershell, Run and IPConfig helps us users resolve a major chunk of problems.

Microsoft has also made it a point to include powerful tools that will help users manage the networking features that the Windows has to offer. In this segment, we will talk at length about how to fix the “Could not flush the DNS Resolver Cache” issue.

What is ipconfig?

The IPConfig is a built-in-tool that’s mostly helpful for the admins of the Windows operating system. In a broad sense, its used to test the connectivity between the DHCP server and the workstation by making use of various commands. Yes, while we do agree that most of the general users will not ipconfig per say, but still there does exist one feature in ipconfig that is indispensable.

What is DNS Resolve Cache and Flush

The DNS Resolver cache is a temporary database created b the Windows operating system. The database records all the attempts to connect and visit websites. In essence, the DNS Cache is a record-keeping book of all the DNS lookup attempts made by your machine. A sub-feature called DNS Prefetching is used in the Chromium browsers to resolve domain names even before the user follows the link.

ipconfig /flushdns not working


While the DNS Resolver Cache is very helpful in helping us access Internet in a much faster way and save on the bandwidth it sure does has its own downsides. Most of the times DNS cache is responsible for connection errors and this is often solved by using the Flush DNS command. The flushdns command is pretty useful when the website has changed its IP address and there is a conflict since you are still using the older entry stored in the DNS cache.

In order to flush your computer’s local DNS cache all you need to do is head over to command prompt and type the following command, “ipconfig/flushdns.” However, sometimes the command prompt throws the following error “Could not flush the DNS Resolver Cache” issue.”

According to experts at Microsoft, this problem is caused when a service named ‘DNS Client’ is disabled by the computer. Usually, this is enabled at startup. In order to enable the service to follow the steps outlined below,

  • Open the Run dialogue box by pressing ‘WIN+R’
  • Type services.msc and click OK
  • Select the DNS name and double click on the same.
  • Check the settings for the ‘Startup Type’, make sure you select ‘Automatic.’
  • Restart the computer and the DNS Client should be enabled automatically

The last resort

Does the “Could not flush the DNS Resolver Cache” issue still persists? In such cases, one needs to take a look at the Windows logs in order to deduce what happened. Open Run Dialog box by typing ‘WIN+R’, click Ok> Windows Logs>Systems.

Also one can simply type ‘ipconfig/displaydns’ in order to view all the DNS cache. Furthermore, the results can also be exported by typing out the following command “ipconfig/displaydns>cached-dns.txt.”

This is how you resolve the “Could not flush the DNS Resolver Cache” issue. On a related note, some of us disable the DNS client fearing that it will gobble up the computing resources and this is a pure myth. In most of the cases, the DNS Client will use around 200-300KB of memory and disabling this is certainly not helping you reap performance benefits.