How to clean your DNS cache?

change dns google
change dns google

Last updated: December 31, 2022

Every time you go online you visit websites often, but Windows 10 automatically retrieves the corresponding IP address from your Internet Service Provider.

For'speed up internet connection to the sites you usually visit, Windows keeps what is called the “DNS cache”, a list of IP addresses. This cache is automatically emptied every 24 hours.

Some websites change their IP address regularly. The following situation then occurs. You type in the address of a site you visited before and Windows can no longer access it. To save there, you must then purge the cache DNS
To view the DNS cache:

Go to the Start menu, find Command Prompt and run it as administrator.

Now type the command below and hit enter.

ipconfig / displaydns

This will list all the domain names, their IP address, and some other information.

Now, to purge flush the DNS cache, type this command:

ipconfig / flushdns

When you press Enter, Windows clears the DNS cache. You will receive a message confirming that the DNS cache was successfully flushed.