API Reference
Class
DnsDebugLoggingChecker
Provides methods to query DNS debug logging settings.
Inheritance
- Object
- DnsDebugLoggingChecker
Constructors
public DnsDebugLoggingChecker(Func<String, DnsDebugStatus> fetchStatus = null, Func<IEnumerable<String>> enumerateDcs = null) #Initializes a new instance of the DnsDebugLoggingChecker class.
Parameters
- fetchStatus System.Func{System.String,ADPlayground.DnsDebugStatus} = null
- Delegate retrieving debug status from a server.
- enumerateDcs System.Func{System.Collections.Generic.IEnumerable{System.String}} = null
- Delegate enumerating domain controllers.
Methods
public DnsDebugStatus GetStatus(String dnsServer) #Returns:
DnsDebugStatusRetrieves debug logging configuration for a DNS server.
Parameters
- dnsServer System.String
- Target server name.
Returns
Status details.
public IEnumerable<DnsDebugStatus> GetStatusReport() #Returns:
IEnumerable<DnsDebugStatus>Retrieves debug logging configuration for all discovered domain controllers.
Returns
Collection of status records.