Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Get DNS Server Cache Details

$
0
0

Summary: Use Windows PowerShell to get details about the DNS server cache.

Hey, Scripting Guy! Question How can I find information such as the maximum TTL on my remote DNS server running Windows Server 2012?

Hey, Scripting Guy! Answer Use the Get-DNSServerCache function from the DNSServer module, as shown here.

18:34 C:\> Get-DnsServerCache -Cn dc3

 

MaxTTL                           : 1.00:00:00

MaxNegativeTTL                   : 00:15:00

MaxKBSize                        : 0

EnablePollutionProtection        : True

LockingPercent                   : 100

StoreEmptyAuthenticationResponse : True


Viewing all articles
Browse latest Browse all 3333

Trending Articles