How does Win10 clean up the DNS cache? Win10 computer dns cache cleanup 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, the computer Pepsi network Xiaobian details the Win10 computer to clean up the dns cache method, only need to use a command, easy to solve.

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, you can open it in the start menu, or you can use the combination shortcut "Win + R" to open it quickly, 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. At this point, we type dns cache cleanup command ipconfig/flushdns and press the "Enter" key on the keyboard to confirm the running dns cache. Clean up the command as shown.

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. Interested friends, you can read the following tips: "How to clear the dns cache to view and refresh the local DNS cache method"

After completing the above operations, you can go and see, some others open, their own computers can not The open website is not accessible. At the end of the article, what is the DNS cache for everyone, why should we clean it up?


This article navigation

  • 1, how to clean DNS cache? Win10 computer dns cache cleanup command
  • 2, dns cache is why to clean up dns Cache



    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.

    Extended reading: What is dns What is dns server?

    This article navigation

  • 1, how to clean DNS cache? Win10 computer dns cache cleanup command
  • 2, dns cache is why to clean up dns cache


  • Copyright © Windows knowledge All Rights Reserved