DSCResources/MSFT_xDnsServerPrimaryZone/en-US/about_xDnsServerPrimaryZone.help.txt

.NAME
    xDnsServerPrimaryZone
 
.DESCRIPTION
    The xDnsServerPrimaryZone DSC resource manages a standalone file-backed Primary zone on a given Domain Name System (DNS) server.
 
.PARAMETER Name
    Key - String
    Name of the DNS Server primary zone
 
.PARAMETER ZoneFile
    Write - String
    Name of the DNS Server primary zone file. If not specified, defaults to 'ZoneName.dns'.
 
.PARAMETER DynamicUpdate
    Write - String
    Allowed values: None, NonSecureAndSecure
    Primary zone dynamic DNS update option. Defaults to 'None'.
 
.PARAMETER Ensure
    Write - String
    Allowed values: Present, Absent
    Whether the DNS zone should be present or absent
 
.EXAMPLE 1
 
 
Configuration xDnsServerPrimaryZone_config
{
    Import-DscResource -ModuleName 'xDnsServer'
 
    Node localhost
    {
        xDnsServerPrimaryZone 'AddPrimaryZone'
        {
            Ensure = 'Present'
            Name = 'demo.contoso.com'
            ZoneFile = 'demo.contoso.com.dns'
            DynamicUpdate = 'NonSecureAndSecure'
        }
    }
}