In this article, we will show how to clear the DNS cache on Microsoft Windows OS.
DNS cache keeps the IP addresses of the web servers. If the web server's location changes before updating the DNS cache, the websites which were located on the last web server, won't load. Therefore, you should clear the DNS cache.
Follow these steps to clear the DNS cache:
- Press the Windows Key + R in order to open the run box.
- Write CMD inside the box and press enter.
- Write the following command in the CMD and press enter.
- You should receive the following message:
Successfully flushed the DNS Resolver Cache.