Knowledge Base
MilesWeb / Windows Hosting FAQ

Learn to Flush your DNS cache in Windows in Simple Steps

Approx. read time : 3 min

You can flush your DNS cache in different versions of Windows as below:

Windows 8 & 10

1. On your keyboard click on the Windows logo while holding the R key at the same time.

The run box will get displayed.

2. Type cmd in the run box and then hit the ‘Enter’ key.

3. The command prompt will pop up. Enter the below command in it:

C:\Users\username> ipconfig /flushdns

The command runs and returns to the prompt.

4. Next, type exit and hit the ‘Enter’ key to close the window.

Note: After that you might see a pop-up box with a message that Windows “…cannot end the program as it may still be running…” – ignore it as it’s completely safe (and required) to click the End Now button to exit.

Windows 7

1. Click on the Windows logo on your desktop, and then type ‘cmd’ in the search bar (where it says ‘search for programs and files’).

2. The command prompt will pop up. Enter the below command in it:

C:\Users\username> ipconfig /flushdns

3. Hit the ‘Enter’ key, and then repeat the process twice.

4. Type exit, and then hit the ‘Enter’ key to close the window.

Windows Vista

1. Click on the Windows logo on your desktop.

2. In the menu, select ‘All Programs’.

3. Click on Accessories.

4. Right click on ‘Command Prompt’.

5. Choose the option ‘Run As Administrator’.

6. A window pops up in which type the following, and then press ‘Enter’:

C:\Users\username> ipconfig /flushdns

7. Hit the ‘Enter’ key and repeat the process twice.

8. Type exit, and then hit the ‘Enter’ key to close the window.

In case you want to verify what domains and IPs your computer cached currently, you may use the command ipconfig /displaydns in the steps described above.

Windows XP

1. Click the Windows logo on your desktop and then click on Run.

2. Type in cmd and click OK.

3. A window pops up in which type the following:

C:\Users\username> ipconfig /flushdns

4. Hit the ‘Enter’ key and repeat the process twice.

5. Type exit, and then hit the ‘Enter’ key to close the window.

This way you can flush your DNS cache in different versions of Windows.

Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna