Forum Discussion

Samer Rustom's avatar
Samer Rustom
Copper Contributor
May 30, 2020

Ipconfig /flushdns VS dnscmd /clearcache

 

I ran both command on the PowerShell server 2k12 & 2K16 and give the same result.

 

Please inform me if there is/are major or minor difference between both commands.

 

 
 

2 Replies

  • ipconfig /flushdns will flush the local computer cache. And dnscmd /clearcache will clear the dns server cache.

    With the former you will clear the "local" cache of the server you work on. It will NOT clear the dns server cache. While with dnscmd you will clear the dns server cache.

     

    (please don't forget to mark helpful replies)

     

     

    • WillowRaven's avatar
      WillowRaven
      Occasional Reader

      I tried the dnscmd /clearcache and it wouldn't complete the process:

      And yes I have Administrator abilities/access.

Resources