Quickly Refresh the Local DNS Cache in Windows System Terminal

3,666 0

Problem

To improve website access speed, the computer system caches a website's URL and IP address information locally after successfully accessing a webpage. The next time the URL is accessed, it connects directly through the IP address.

For some websites, the domain name has not changed, but the IP address has changed. The website may become inaccessible because the local DNS cache has not been refreshed. In this case, we can try refreshing the local DNS cache to see whether it resolves the problem of being unable to access the website.

Solution

  • Use the Win+R keyboard shortcut to open the Run window
  • Enter the cmd command and press Enter to open the command prompt window
  • Enter and run the command ipconfig /displaydns
  • Enter and run the command ipconfig /flushdns
  • Run the ipconfig /displaydns command again

Comments

(0)

No comments yet. Start the conversation.

Leave a comment