TestimoX

API Reference

Class

DnsPrimaryZoneNameServerPostureService

Namespace ADPlayground.Dns
Assembly ADPlayground
Modifiers static

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: View

Evaluates primary-zone NS posture for the supplied domain using the supplied domain controller as the query source.

Parameters

options ADPlayground.Dns.DnsPrimaryZoneNameServerPostureService.Options requiredposition: 0
Query options.
zoneQuery System.Func{System.String,ADPlayground.Dns.DnsZoneConfigService.QueryResult} = null optionalposition: 1
Optional zone-query delegate for tests.
nameServerQuery System.Func{System.String,System.String,System.Collections.Generic.IReadOnlyList{System.String}} = null optionalposition: 2
Optional NS-record query delegate for tests.
expectedNameServerQuery System.Func{System.String,System.Collections.Generic.IReadOnlyList{System.String}} = null optionalposition: 3
Optional domain-controller inventory delegate for tests.

Returns

A typed posture view.