How to Clear DNS Cache in Windows 10

How to Clear DNS Cache in Windows 10

The DNS cache stores the IP addresses of websites and other network resources that your computer has recently accessed. This can help to speed up subsequent requests for those resources. However, sometimes the DNS cache can become outdated or corrupted, which can cause problems with your internet connection.

To clear the DNS cache in Windows 10, follow these steps:

  1. Open the Command Prompt as administrator.
  2. Type the following command and press Enter:
ipconfig /flushdns

 


 This command will flush the DNS cache for all network adapters on your computer.


You can also flush the DNS cache for a specific network adapter by specifying the adapter's name. For example, to flush the DNS cache for the adapter named "Ethernet", you would type the following command:

ipconfig /flushdns /adapter Ethernet

After you have flushed the DNS cache, you may need to restart your computer for the changes to take effect.

Other Handy DNS and IP Address Related Commands

ipconfig /displaydns: This command displays the contents of the DNS cache.
ipconfig /release: This command releases the current IP address settings for the specified adapter.
ipconfig /renew: This command renews the IP address settings for the specified adapter.

Comments