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

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?

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

Explanation:
The Show-DNSServerCache shows all cached Domain Name System (DNS) server resource records in
the following format: Name, ResourceRecordData, Time-to-Live (TTL).



Leave a Reply 3

Your email address will not be published. Required fields are marked *

five × 4 =


Paul

Paul

ipconfig.exe /displaydns also shows TTL of cached DNS records

Kuba

Kuba

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

Gary Trembath

Gary Trembath

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