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
-
Use the "WIN + R" shortcut key to open the run window, and enter the "cmd" command to enter the command line window.
-
Enter "ipconfig /flushdns" in the command line window to flush the local DNS cache data.
-
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.
-
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