It becomes necessary to flush the old cache of DNS records from Windows on a regular basis to prevent the errors like “ Website not found”. To clear the DNS resolver cache, you can follow a simple procedure explained below. Flushing DNS cache of your system will not only stop domain name resolution errors but also enhances the speed of your system.
Method 1: Using the Command Prompt
In windows10, right click start menu icon and open Command Prompt(Admin) or alternatively press windows + R keys on the keyboard to open Run dialog box. Now type cmd to open command prompt screen.
Now type the following command and press enter.
Ipconfig /flushdns
You will get a message that you have successfully flushed the DNS Resolver Cache.
Method 2 Using Windows Powershell
In the run dialog box, type PowerShell and now type the command: Clear-dnsclientcache.
You can also check
How to perform a DNS flush – Microsoft
More on DNS Resolver Cache Flush & Reset
Whenever you visit a website in a browser, it is pointed to a DNS server which resolves the domain name to its IP address. The browser is then able to open the website address. The IP addresses of all the websites you open are recorded in your local system’s cache called DNS resolver cache. With time this cache piles up and often cause TCP/IP configuration errors and in case the IP address of a website changes, the browser will pick up the old IP address from the local cache and result in website opening errors.
If you want, you can also view all the DNS cache records. To do so, open the command prompt and type the command “ ipconfig /displaydns”.
Share Your Views: