Skip to content

DnsServerZoneTransfer

dscbot edited this page Aug 19, 2024 · 2 revisions

DnsServerZoneTransfer

Parameters

Parameter Attribute DataType Description Allowed Values
Name Key String Name of the DNS zone
Type Required String Type of transfer allowed None, Any, Named, Specific
SecondaryServer Write StringArray[] IP address or DNS name of DNS servers where zone information can be transferred

Description

The DnsServerZoneTransfer DSC resource manages the replication settings of DNS Server zone data between servers.

Examples

Example 1

This configuration will manage a DNS zone transfer

Configuration DnsServerZoneTransfer_config
{
    Import-DscResource -ModuleName 'DnsServerDsc'

    DnsServerZoneTransfer 'TransferToAnyServer'
    {
        Name = 'demo.contoso.com'
        Type = 'Any'
    }
}
Clone this wiki locally