Skip to content

Latest commit

 

History

History
111 lines (86 loc) · 2.54 KB

DnsServerConditionalForwarders.adoc

File metadata and controls

111 lines (86 loc) · 2.54 KB

DSC Resource 'DnsServerConditionalForwarders'

DnsServerConditionalForwarders manages a conditional forwarder on a Domain Name System (DNS) server.

You can manage the master servers, forwarder time-out, recursion, recursion scope, and directory partition name for a conditional forwarder zone.

Source

DSC Resource

Documentation

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

ConditionalForwarders

Mandatory

Hashtable[]

List of conditional forwarders

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

Name

Key

String

The name of the zone to manage.

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.

Ensure

String

Whether the primary zone should be present or removed

  • Present (default)

  • Absent

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