How to flush the local DNS cache?

In order to improve the access speed of the website, the system will cache the domain name and IP address information of the website locally after successfully accessing the website. The next time you visit the domain name, you can access it directly by IP. The domain name of some websites has not changed, but the IP address has changed. It may be inaccessible because the local DNS cache has not been refreshed. At this time, we can try to refresh the local DNS cache to see if it can solve the problem that the website cannot be accessed.

method/step

 
  1.  

    Use the "WIN + R" shortcut key to open the run window, and enter the "cmd" command to enter the command line window.

    How to flush the local DNS cache?
  2.  

    Enter "ipconfig /flushdns" in the command line window to flush the local DNS cache data.

    How to flush the local DNS cache?
  3.  

    If the error "Failed to flush DNS resolution cache" as shown in the figure below appears when executing "ipconfig /flushdns", it is generally because the local "DNS Client" service has not started normally.

    How to flush the local DNS cache?
  4.  

    Enter "services.msc" in the command line window, or enter the service management window through "Control Panel" -> "Administrative Tools" -> "Services". After starting the "DNS Client" service, execute the "ipconfig /flushdns" command in the command line window to successfully flush the local DNS cache.

    END

Precautions

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324792340&siteId=291194637