• Skip to main content
  • Skip to primary sidebar

Technipages

Smart phone, gadget and computer tutorials

  • Topics
    • Android
    • Gaming
    • Hardware
    • Internet
    • iOS
    • MacOS
    • Office
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
How to Flush and Reset the DNS Cache in Windows 10

How to Flush and Reset the DNS Cache in Windows 10

By Mitch Bartlett 12 Comments

Flushing the DNS resolver cache can help resolve DNS related problems in Microsoft Windows 10. Issues would include web site not found errors or not being able to view certain web pages that have changed.

Option 1 – Windows Command

To reset the DNS resolver cache, perform the following steps:

  1. Select the “Start” button, then type “cmd“.
  2. Right-click “Command Prompt“, then choose “Run as Administrator“.
  3. Type ipconfig /flushdns then press “Enter“. (be sure there is a space before the slash)
    Windows Flush DNS command

A command box will flash on the screen for a split second and the DNS Resolver cache is cleared.


Option 2 – Windows PowerShell

  1. Select the “Start” button, then type “powershell“.
  2. Select “Windows PowerShell“.
  3. Type the following command, then press “Enter“:
    • Clear-DnsClientCache

This article applies to Windows 10, 8, 7, XP, 2000, 2003 and 2008.

Also see:
Flush and reset a client resolver cache using the ipconfig command – Microsoft


FAQ

What is the DNS Resolver Cache?

Whenever you visit a website using it’s domain name (i.e. microsoft.com), your browser is directed to a DNS server where it learns the IP address of that website. You are then directed to that website. A record of the IP address that domain name points to is created within Windows so that if you visit that same website again, the information is accessed quicker. These records that get created make up the DNS Resolver Cache.

Why would flushing the DNS Resolver Cache fix anything?

Sometimes an IP address to a site may change. If the DNS Resolver Cache has the old IP address record, it may result in your computer not being able to reach the site. Cached data can also become corrupt. Therefore, clearing it is a step you can take whenever you cannot connect to a site.

Can I view the data in the DNS Resolver Cache?

Yes. From a command prompt, you can use the “ipconfig /displaydns” command or the “Get”>-DnsClientCache” PowerShell command to view the data.

You Might Also Like

  • Windows 10: Flush ARP CacheWindows 10: Flush ARP Cache
  • MacOS Sierra: Flush DNS CacheMacOS Sierra: Flush DNS Cache
  • How to Reset Network Adapter in Windows 10 Using Network ResetHow to Reset Network Adapter in Windows 10 Using…
  • Windows: Clear Java Web Cache Via Command LineWindows: Clear Java Web Cache Via Command Line
  • Easily Reset Password in Windows 7Easily Reset Password in Windows 7
  • What is the CPU Cache?What is the CPU Cache?
  • How to Clear the Cache in Google ChromeHow to Clear the Cache in Google Chrome
  • Apple Safari: Completely Disable CacheApple Safari: Completely Disable Cache
  • How to Completely Disable Cache in Google ChromeHow to Completely Disable Cache in Google Chrome

Filed Under: Windows Tagged With: win7, Windows 10

Reader Interactions

Comments

  1. Abdullah Al Mehedy says

    February 14, 2020 at 10:14 pm

    Really It’s a Very Helpful Article. Thanks for share with us.

  2. Angela Grzywacz says

    December 16, 2019 at 4:58 am

    Hi I have just purchased a new lap top and it has problems connecting to the internet. the trouble shoot guide says : The DNS server is not responding” . please can you help

  3. DebianFanatic says

    November 1, 2019 at 3:35 pm

    If you don’t want the command window to disappear, don’t use the Run command; use the Command Prompt command instead (as Administrator).

    This will open a command terminal, wherein you can type

    ipconfig /flushdns

    and then to exit the command terminal window, either X at the top-right or enter the command

    exit

  4. F says

    August 23, 2019 at 5:23 am

    To read the data, try copy and pasting everything into a doc. You can do this as the data is loading.

    My question is about all the data that is in there after the flush. It appears to be junk but I’d like it gone so the next display dns is clean.

  5. Marge says

    August 9, 2019 at 2:37 pm

    I don’t know yet. Have to relaunch website fix was for.

  6. Chris says

    June 9, 2019 at 2:11 pm

    I tried this. Two web sites still refuse to load on any browser.

  7. Sanjay G M says

    June 6, 2019 at 4:40 am

    it is worked with the RUN command but it is run dialogue box quickly and even guys not seen the operation, if want see the operation try with the command prompt with the following command

    ipconfig /flushdns (be sure there is a space before the slash)

  8. Ronald Kriel says

    March 5, 2019 at 7:10 pm

    When using the run command “ipconfig /displaydns” the command prompt window scrolls by so fast I cannot read it. I did try “ipconfig /displaydns /p just in case it worked like directory searches. No luck.

  9. OldGoat says

    February 19, 2019 at 10:32 am

    Richard & Anika the ipconfig/flushdns window will appear and disappear quickly.. sometimes a momentary pause it the cache is rather full but otherwise sometimes you may not even witness it but it will function as per the command

  10. anika says

    February 10, 2019 at 12:55 pm

    For me happens the same, box quickly disappears ;/

  11. Michael A. Bethea says

    January 24, 2019 at 11:00 am

    Very helpful. As a Customer Service analyst for the CDC, I come across this problem from time to time. It’s good to have yet another trick in my arsenal. Thanks!

    Michael Bethea
    Atlanta, GA

  12. Richard Hutchinson says

    January 24, 2019 at 10:51 am

    When I do these steps my run diallogue box quickly disappears ,,,,,thats all.

Did this help? Let us know! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • Android 10: How to Adjust the Keyboard Size
  • OneNote Error Code 0xE00001AE – Fix
  • WhatsApp: How to Change Your Phone Number
  • Fix OneNote Error 0xe00001bb: Section Is Corrupted
  • Zoom: How to Show the Unread Message Icon
  • How To Calculate Tips on Android
  • What to Do If Chrome Download Needs Authorization
  • Fix OneNote Error 0xE401065D, 0xE000145C, 0xE4010640

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Follow me on Twitter, or visit my personal blog.

You May Also Like

  • Cache
  • Cache Controller
  • Set-Associative Cache
  • Pipeline Burst Cache
  • Windows 95/98
  • Microsoft Windows 95
  • Microsoft Windows
  • Microsoft Windows NT

© Copyright 2021 Technipages · All Rights Reserved · Privacy