Typically, there are three types of caches in Windows 11/10 that you can flush easily: Clearing the Memory Cache can free up some system memory while clearing the Thumbnail Cache can free up space in your hard disk. Clearing the DNS Cache can fix your internet connection problem. Here’s how you can flush the DNS cache in Windows 11, Windows 10, Windows 8 or Windows 7.

Flush DNS Cache in Windows 11/10

To flush the DNS Cache in Windows 11/10 you need to:

Let us see it in a bit more detail. You need to open an administrative command prompt window. In search box, type cmd. Then, right-click on it and choose ‘Run as administrator’ option. Alternatively, you can also open an elevated command prompt from the WinX menu. Next, type the following and hit enter: You should be able to see a confirmation dialog window: Once the requisite process is complete and existing cache data has been flushed, you may execute the command mentioned below: This step is to register any DNS records that you or some programs may have recorded in your Hosts file. These resources may also interest you: Our freeware FixWin for Windows, let you flush the DNS cache, etc., in a click.

Read: How to clear or flush Google Chrome DNS Cache

Display DNS Cache

If you wish to confirm if the DNS cache has been cleared, you can type the following command and hit Enter: This will display the DNS cache entries if any.

Turn Off or Turn On DNS Cache

To turn off DNS caching for a particular session, type net stop dnscache and hit Enter. To turn on DNS caching, type net start dnscache and hit Enter. Of course, when you restart the computer, the DNC caching will, in any case, be turned on. NOTE: Here’s a Batch File to Release TCP/IP, Flush DNS, Reset Winsock, Reset Proxy all at once.

Disable DNS Cache

If for some reason you wish to disable DNS caching, type services in start search and hit Enter to open the Services Manager. Here locate the DNS Client service. Double-click on it to open its Properties box. Here change its startup type from Manual to Disabled. If you disable the DNS Client service, DNS Lookups may take longer.