Skip to content

Latest commit

 

History

History
92 lines (71 loc) · 1.92 KB

DnsServerPrimaryZones.adoc

File metadata and controls

92 lines (71 loc) · 1.92 KB

DSC Resource 'DnsServerPrimaryZones'

DnsServerPrimaryZones manages a standalone file-backed Primary zone on a given Domain Name System (DNS) server.

Source

DSC Resource

Documentation

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

PrimaryZones

Mandatory

Hashtable[]

List of DNS Primary Zones

Table 2. Attributes of category 'DnsServerPrimaryZones/PrimaryZones'
Parameter Attribute DataType Description Allowed Values

Name

Key

String

Name of the primary DNS zone

ZoneFile

String

Name of the primary DNS zone file.

Default: ZoneName.dns

DynamicUpdate

String

Primary zone dynamic DNS update option.

  • None (default)

  • NonSecureAndSecure

Ensure

String

Whether the primary zone should be present or removed

  • Present (default)

  • Absent

Example
DnsServerPrimaryZones:
  PrimaryZones:
    - Name:          PrimaryZone1
      ZoneFile:      MyZone.dns
      DynamicUpdate: NonSecureAndSecure
      Ensure:        Present

    - Name:          PrimaryZone2