API Reference
Class
DnsPrimaryZoneNameServerPostureService
Evaluates whether the primary domain DNS zone advertises the current domain controllers as authoritative name servers.
Inheritance
- Object
- DnsPrimaryZoneNameServerPostureService
Methods
public static View Evaluate(Options options, Func<String, QueryResult> zoneQuery = null, Func<String, String, IReadOnlyList<String>> nameServerQuery = null, Func<String, IReadOnlyList<String>> expectedNameServerQuery = null) #Returns:
ViewEvaluates primary-zone NS posture for the supplied domain using the supplied domain controller as the query source.
Parameters
- options ADPlayground.Dns.DnsPrimaryZoneNameServerPostureService.Options
- Query options.
- zoneQuery System.Func{System.String,ADPlayground.Dns.DnsZoneConfigService.QueryResult} = null
- Optional zone-query delegate for tests.
- nameServerQuery System.Func{System.String,System.String,System.Collections.Generic.IReadOnlyList{System.String}} = null
- Optional NS-record query delegate for tests.
- expectedNameServerQuery System.Func{System.String,System.Collections.Generic.IReadOnlyList{System.String}} = null
- Optional domain-controller inventory delegate for tests.
Returns
A typed posture view.