IT Questions and Answers :)

Tuesday, March 13, 2018

Which of the following CLI commands empties the DNS server cache in Windows Server?

Which of the following CLI commands empties the DNS server cache in Windows Server?

  • ipconfig /flushdns
  • Set-DNS -ClearCache
  • Delete-DNSCache
  • dnscmd /clearcache 

 EXPLANATION Dnscmd /clearcache clears the cache used for DNS server. Dnscmd is the tool used to manage DNS from the command line.
ipconfig /flushdns clears the DNS client cache. A DNS server has both caches but the client cache is the one used to provide name resolution for its own requests, not for other clients on the network.
Dnscmd TechNet article:
https://technet.microsoft.com/en-us/library/cc772069(v=ws.11).aspx
Share:

Popular Posts

Blog Archive