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

3 minute read
ipconfig /flushdns not working

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

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.



Next up

Alexa is coming to your Windows 10 lock screen in September

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Microsoft is currently testing a new Windows 10 build 18362.10005 that will allow digital assistants such as Alexa to appear on the Windows 10 lock […]

Continue Reading

Computer starts up with Devices Diagnostic Level set to Basic [FIX]

Vladimir Popescu avatar. By: Vladimir Popescu
2 minute read

A wide range of users have reported that their computer starts-up with Devices Diagnostic Level set to Basic. More than this, it seems like the […]

Continue Reading

Microsoft Forms now detects and blocks phishing attacks automatically

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Microsoft Forms is a popular service that is used by millions of people around the world to create polls and surveys, as well as quizzes. […]

Continue Reading