You have a DNS server named Served that has a Server Core Installation on Windows Server 2012
R2.
You need to view the time-to-live (TTL) value of a name server (NS) record that is cached by the DNS
Server service on Server1.
What should you run?
A.
Show-DNSServerCache
B.
nslookup.exe
C.
ipconfig.exe /displaydns
D.
dnscacheugc.exe
ipconfig.exe /displaydns also shows TTL of cached DNS records
Yes ipconfig also displays cached records but for client side dns resolver. Question says “… that is cached by the DNS Server service” so you have to use Show-DnsServerCache
Question is asking for Name Server (NS) records.
IPConfig /displayDNS dose not show NS records
Show-DNSServerCache
HostName RecordType Timestamp TimeToLive RecordData
——– ———- ——— ———- ———-
com NS 0 19:37:43 h.gtld-servers.net.
com NS 0 19:37:43 c.gtld-servers.net.
com NS 0 19:37:43 f.gtld-servers.net.
com NS 0 19:37:43 e.gtld-servers.net.
com NS 0 19:37:43 i.gtld-servers.net.
com NS 0 19:37:43 d.gtld-servers.net.
com NS 0 19:37:43 k.gtld-servers.net.
com NS 0 19:37:43 l.gtld-servers.net.
com NS 0 19:37:43 g.gtld-servers.net.
com NS 0 19:37:43 a.gtld-servers.net.
com NS 0 19:37:43 m.gtld-servers.net.
com NS 0 19:37:43 j.gtld-servers.net.
com NS 0 19:37:43 b.gtld-servers.net.
No NS