How to clean your DNS cache?

change dns google
change dns google

Last updated: December 31, 2022

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

For'speed up internet connection 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 have visited before and Windows can no longer access it. To save there, it is then necessary to purge the cache DNS
To view the DNS cache:

Go to the Start menu, find Command Prompt and launch 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 flushes the DNS cache. You will receive a message confirming that the DNS cache was flushed successfully.