DSCResources/MSFT_xDnsServerADZone/en-US/about_xDnsServerADZone.help.txt

.NAME
    xDnsServerADZone
 
.DESCRIPTION
    The xDnsServerADZone DSC resource manages an AD integrated zone on a Domain Name System (DNS) server.
 
.PARAMETER Name
    Key - String
    DNS Server zone name
 
.PARAMETER DynamicUpdate
    Write - String
    Allowed values: None, NonSecureAndSecure, Secure
    Dynamic zone update option
 
.PARAMETER ReplicationScope
    Required - String
    Allowed values: Custom, Domain, Forest, Legacy
    Replication scope option
 
.PARAMETER DirectoryPartitionName
    Write - String
    Directory partition name
 
.PARAMETER ComputerName
    Write - String
    DNS Server name
 
.PARAMETER Credential
    Write - Instance
    Credential used to set zone
 
.PARAMETER Ensure
    Write - String
    Allowed values: Present, Absent
    Whether the DNS zone should be available or removed
 
.EXAMPLE 1
 
This configuration will manage an AD integrated DNS forward lookup zone
 
Configuration xDnsServerADZone_forward_config
{
    param
    (
        [System.Management.Automation.PSCredential]
        $Credential
    )
 
    Import-DscResource -ModuleName 'xDnsServer'
 
    Node localhost
    {
 
        xDnsServerADZone 'AddForwardADZone'
        {
            Name = 'MyDomainName.com'
            DynamicUpdate = 'Secure'
            ReplicationScope = 'Forest'
            ComputerName = 'MyDnsServer.MyDomain.com'
            Credential = $Credential
            Ensure = 'Present'
        }
    }
}
 
.EXAMPLE 2
 
 
Configuration xDnsServerADZone_reverse_config
{
    Import-DscResource -ModuleName 'xDnsServer'
 
    Node localhost
    {
        xDnsServerADZone 'addReverseADZone'
        {
            Name = '1.168.192.in-addr.arpa'
            DynamicUpdate = 'Secure'
            ReplicationScope = 'Forest'
            Ensure = 'Present'
        }
    }
}