TestimoX

API Reference

Class

DnsDebugLoggingChecker

Namespace ADPlayground
Assembly ADPlayground

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 optionalposition: 0
Delegate retrieving debug status from a server.
enumerateDcs System.Func{System.Collections.Generic.IEnumerable{System.String}} = null optionalposition: 1
Delegate enumerating domain controllers.

Methods

public DnsDebugStatus GetStatus(String dnsServer) #
Returns: DnsDebugStatus

Retrieves debug logging configuration for a DNS server.

Parameters

dnsServer System.String requiredposition: 0
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.