Networking with Windows Server 2016 — Question 59
You have a DNS server named Server1 that runs Windows Server 2016. Server1 has an Active Directory-integrated zone named adatum.com.
All client computers run Windows 10.
You recently encountered unexpected responses to DNS client queries in the adatum.com zone.
You need to log all the records written to the zone.
Which cmdlet should you run?
Answer options
- A. Add-DnsServerQueryResolutionPolicy
- B. Set-DnsServerDsSetting
- C. Set-DnsServerDiagnostics
- D. Set-DnsServer
Correct answer: C
Explanation
The correct answer is C, as the Set-DnsServerDiagnostics cmdlet is specifically designed to enable logging for DNS server events, allowing you to track records written to the zone. The other options do not provide the functionality for logging DNS records directly; A focuses on query resolution policies, B pertains to directory service settings, and D is a general cmdlet for configuring the DNS server.