Skip to content

xDnsServerZoneTransfer

Johan Ljunggren edited this page Jul 9, 2021 · 3 revisions

xDnsServerZoneTransfer

⚠️ DEPRECATED! The resource has been replaced by DnsServerZoneTransfer in the DSC resource module DnsServerDsc.

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 xDnsServerZoneTransfer 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 xDnsServerZoneTransfer_config
{
    Import-DscResource -ModuleName 'xDnsServer'

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