Skip to content

Latest commit

 

History

History
110 lines (87 loc) · 2.57 KB

DnsServerConditionalForwarders.adoc

File metadata and controls

110 lines (87 loc) · 2.57 KB

DSC Resource 'DnsServerConditionalForwarders'

DnsServerConditionalForwarders manages a conditional forwarder on a given DNS server.

Source

DSC Resource

Documentation

Table 1. Attributes of category 'DnsServerConditionalForwarders'
Parameter Attribute DataType Description Allowed Values

ConditionalForwarders

Hashtable[]

Table 2. Attributes of category 'DnsServerConditionalForwarders/ConditionalForwarders'
Parameter Attribute DataType Description Allowed Values

Name

Key

String

The name of the zone to manage.

Ensure

String

Whether the primary zone should be present or removed

  • Present (default)

  • Absent

MasterServers

String[]

The IP addresses the forwarder should use.
Mandatory if Ensure is present.

ReplicationScope

String

Whether the conditional forwarder should be replicated in AD, and the scope of that replication.

  • None (default)

  • Custom

  • Domain

  • Forest

  • Legacy

DirectoryPartitionName

String

The name of the directory partition to use when the ReplicationScope is Custom. This value is ignored for all other replication scopes.

Example
DnsServerConditionalForwarders:
  ConditionalForwarders:
    - Name: SharedServices
      MasterServers:
        - 10.0.1.10
        - 10.0.2.10
      ReplicationScope: Forest
    - Name: Oxy
      MasterServers:
        - 10.0.3.10
      ReplicationScope: Forest