Nechstar has affiliate partnerships (including Amazon). These do not influence editorial content, though we may earn commissions for purchases using our links. Learn more

Sometimes, when you have an Internet connection problems flushing Windows DNS cache can solve some issues.  

That’s because if you can no longer access a certain website that you have visited before, you might need to flush the DNS resolver cache to remove the old records. 

In fact, flushing the DNS resolver cache can help you resolve DNS related problems in Windows 10:

  • When the IP address of certain site changes. 
  • Bad results are cached.
  • DNS cache is corrupted or broken. 

Now, let’s see how to flush DNS resolver cache.

How to Flush and Reset the DNS Cache Using Windows Command

STEP 1: At first, Press Windows key and R at the same time to invoke Run window.

STEP 2: Then, input cmd in the empty box and click OK.

STEP 3: Now, type the following command ipconfig /flushdns to clear DNS cache files on your computer and press EnterNote: Be sure there is a space before the slash.

STEP 4: After that, a command box will appear on the screen and the DNS cache will be cleared.

 

Flush and Reset the DNS Cache Using Windows PowerShell

STEP 1: Right-click Start button to open the menu.

STEP 2: Choose Windows PowerShell (Admin) to run PowerShell as administrator.

STEP 3: Type the command clear-dnsclientcache and press Enter.

 

That’s all about DNS resolver cache and how to flush it. Hope this video will be helpful when you need to flush DNS cache.

 

What is the DNS Resolver Cache?

A DNS (Domain Name System) resolver cache is a temporary database, maintained by Windows, that contains records of all your recent visits and attempted visits to websites and other Internet domains.

Every time you visit a website by its name (such as nechstar.com), the browser initiates a request out to the Internet, but it’s redirected to the DNS server to find the IP address of that website. After that, you can access the website. This process is called name resolution and is it one of the jobs of DNS. But it takes time. 

That’s where DNS cache comes into play. The DNS resolver cache is used to speed up the name resolution process before the request is sent out to the Internet. 

 

What does flushing DNS cache do?

Flushing the DNS resolver cache can help you resolve DNS related problems in Windows 10:

When the IP address of certain site changes. The old IP address is still recorded in the DNS cache, so your computer might not be able to access the site.

Bad results are cached. Spoofing and poisoning the DNS cache is nothing new, that is why some bad results might be cached and you cannot visit the site again.

DNS cache is corrupted or broken. Sometimes happens that DNS cache is corrupted or broken and you cannot access the webpage, although the page exists on the internet.

 

Can I view the data in the DNS Resolver Cache?

Yes. The process for viewing your DNS cache in Windows 10 is simple. Open your command prompt and enter the following command: ipconfig /displaydns or use the PowerShell and use the command Get-DnsClientCache to view the data. 

Buffer
Pin
WhatsApp
Pocket
Flip
Share
Tweet