+5 votes
137 views
Clear DNS Cache Windows 10 CMD or PowerShell

in Windows 10 by (552k points)
reopened | 137 views

1 Answer

+3 votes
Best answer

1. Clear DNS Cache Windows 10 CMD
2. Clear DNS Cache Windows 10 PowerShell

As we navigate the websites, these little by little occupy space on the disk with the DNS cache , this cache integrates data from the site such as its IP address, remote servers and other information necessary to access that site, since the cache is DNS present, the opening of the website will be much faster, but if the destination site changes IP, servers or name, the DNS cache Windows 10 will have a conflict when accessing that site and that is why in In this case it is best to clear the DNS cache, TechnoWikis will explain how to clear this DNS cache in two different ways..

 

With the DNS cache we are storing the IP addresses where we have been browsing and what is being saved. Sometimes we can have DNS resolution problems due to that stored information, throwing errors such as 404s and not finding a solution even with a CDN working correctly. Sometimes something as simple as clearing the DNS cache can solve temporary computer errors.

 

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 


1. Clear DNS Cache Windows 10 CMD

 

Step 1

We access the command prompt as administrators :

 

image

 

 

Step 2

In the console we list the DNS with the command:
 ipconfig / displaydns 
image

 

 

Step 3

We delete the DNS:
 ipconfig / flushdns 
image

 

Step 4

Again list the DNS:
 ipconfig / displaydns 
image

 

 

Note
some DNS records are required for system-specific tasks, so they will not be deleted.

 


2. Clear DNS Cache Windows 10 PowerShell

 

Step 1

Access PowerShell as administrator :

 

image

 

 

Step 2

In the PowerShell console we list the DNS:
 Get-DnsClientCache 
image

 

 

Step 3

We delete the DNS cache:
 Clear-DnsClientCache 
image

 

 

Step 4

We list the DNS again:
 Get-DnsClientCache 
image

 

This has been the process to clear DNS cache in Windows 10 using CMD or PowerShell console..

 


by (3.5m points)

Related questions

+3 votes
1 answer
+4 votes
1 answer
asked Mar 13, 2020 in Windows 10 by backtothefuture (552k points) | 553 views
+4 votes
1 answer
+5 votes
1 answer
+4 votes
1 answer
asked Sep 19, 2019 in Windows 10 by backtothefuture (552k points) | 345 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users