In this post, I’ll show how to flush or clear DNS cache in Windows 10. This procedure is necessary in order for previously cached resolutions to be cleared out and subsequent lookup to be performed based on newly configured DNS settings.
The following is an instruction for clearing the DNS cache in Windows 10, and any earlier Windows version. The most important is that the commands need to be run at the Command Prompt with administrator privileges.
See also free safe DNS Servers for family.
How to clear DNS cache in Windows 10
For Windows 8 and 10 will need to follow the below steps:
- Press the Windows Key or click on the Windows Icon.
- Type cmd.
- Under the Best Match, Command Prompt application will appear.
- Right-click on Command Prompt application.
- Choose Run as administrator.
- Enter
ipconfig /flushdns
in the command line. - Hit Enter.
- Done. Click X to close Command Prompt.
How to clear DNS cache in Windows 7 and earlier
The following steps are for Windows 7 and earlier:
- Click the Start Menu.
- Go to All Programs.
- Select Accessories.
- Right-click on Command Prompt application.
- Choose Run as Administrator.
- Enter
ipconfig /flushdns
in the command line. - Hit Enter.
- Done. Click X to close Command Prompt.
As mentioned above, these steps are important in order to ensure the subsequent DNS request will be using the newly configured DNS settings.
If you need any help, let me know in the comment below.