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.
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.
RELATED STORIES TO CHECK OUT:
- Fix: “DNS server is not responding” on Windows 10
- Keep your DNS protected from malware with DNS Lock
- Fix: DNS_PROBE_FINISHED_NXDOMAIN error on Windows 10
Firefox has announced that it will start to warn users if they visit any breached sites. This is in an attempt to not only make […]
Oh dear. It’s been a pretty bad month for Microsoft concerning its Windows 10 October 1809 Update release. Microsoft eventually released the update a couple […]
Yesterday, Microsoft released Visual Studio 15.9. With it came the announcement that “developers now have the officially supported SDK and tools for creating 64-bit ARM […]