How does Win10 clean up the DNS cache? Win10 quickly cleans up the dns cache command

  

How does Win10 clean up the DNS cache? Sometimes our computer suddenly can't get online, or some websites can't open. This situation is caused by DNS cache delay, which can be updated by executing dns cache cleanup command. DNS cache to solve. Today, this small series introduces the Win10 computer to clean up the dns cache method, which can be solved easily with one command.



Win10 computer dns cache cleanup command

dns cache cleanup command: ipconfig/flushdns

Win10 computer dns cache cleanup command usage method

First, first open The Win10 run command can be opened in the start menu or directly opened using the combination shortcut "Win + R" as shown.

Second, after opening the running command window, type cmd after opening and click OK to enter.

Three, you can enter the cmd command operation window, then we type dns cache cleanup command ipconfig/flushdns and press the "Enter" key on the keyboard to confirm the running dns cache cleanup command, such as Figure.

Fourth, after running, you see that the DNS resolution cache has been successfully refreshed. The prompt indicates that the computer has successfully refreshed the DNS cache, as shown in the figure.

In addition, you can also enter the ipconfig /displaydns command in the above command box to check which DNS information has been cached by the machine.

After completing the above operations, you can go and see if some of the others are playing, and the website that cannot be opened by your computer can be accessed normally. At the end of the article, what is the DNS cache for everyone, why should we clean it up?

What is the dns cache? Why clean up the dns cache

Q: What is the dns cache?

DNS caching means that after the DNS returns the correct IP, the system will temporarily store the result. And it will set an expiration time (for example, N hours) for the cache. Within this N hour, when you visit the website again, the system will return the result directly to you from your computer's local DNS cache. No need to ask the DNS server, disguise "acceleration"

Of course, after more than N hours, the system will automatically ask the DNS server again to get new results. So, when you modify the DNS server and don't want your computer to continue using the previous DNS cache, you need to manually clear the local cache.

Local DNS delay does not take effect or local dns exceptions, etc., will lead to access to certain sites can not be accessed, this time we need to manually clear the local dns cache, instead of waiting!

Q: Why do you want to clean up the dns cache?

A: Under normal circumstances, our computer does not need to manually clean up the DNS cache, but sometimes, some websites change the address of the domain name DNS server, and our computer still stays in the historical access DNS. On the cache, there will be an error in accessing the website parsing, which requires manual update to clear the computer's DNS cache. In this way, when the computer revisits a website with a DNS change, it can re-acquire the new available address, so that it can be accessed normally.

The above is a brief introduction to Win10 to quickly clean up the dns cache command, I hope to help everyone, if you have any questions, please leave a message, Xiaobian will reply to you in time of. Thank you very much for your support of this website!

Copyright © Windows knowledge All Rights Reserved