Table of Contents
xDnsServerZoneScope
⚠️ DEPRECATED! The resource has been replaced by DnsServerZoneScope in the DSC resource module DnsServerDsc.
Parameters
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Name | Key | String | Specifies the name of the Zone Scope. | |
| ZoneName | Key | String | Specify the existing DNS Zone to add a scope to. | |
| Ensure | Write | String | Should this DNS Server Zone Scope be present or absent | Present, Absent |
| ZoneFile | Read | String | Returns the zone scope filename. |
Description
The xDnsServerZoneScope DSC resource manages the zone scope on an existing zone on the Domain Name System (DNS) server
The name of the scope should adhere to the same conventions as the zone name. The scope name cannot be same as the zone name to which it is attached.
Requirements
- Target machine must be running Windows Server 2016 or later.
Examples
Example 1
This configuration will manage a DNS zone scope
Configuration xDnsServerZoneScope_config
{
Import-DscResource -ModuleName 'xDnsServer'
xDnsServerZoneScope 'ZoneScope1'
{
Name = 'contoso_NorthAmerica'
ZoneName = 'contoso.com'
Ensure = 'Present'
}
}
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Home
Resources
- DnsRecordA
- DnsRecordAaaa
- DnsRecordAaaaScoped
- DnsRecordAScoped
- DnsRecordCname
- DnsRecordCnameScoped
- DnsRecordMx
- DnsRecordMxScoped
- DnsRecordNs
- DnsRecordNsScoped
- DnsRecordPtr
- DnsRecordSrv
- DnsRecordSrvScoped
- DnsRecordTxt
- DnsRecordTxtScoped
- DnsServerADZone
- DnsServerCache
- DnsServerClientSubnet
- DnsServerConditionalForwarder
- DnsServerDiagnostics
- DnsServerDsSetting
- DnsServerEDns
- DnsServerForwarder
- DnsServerPrimaryZone
- DnsServerRecursion
- DnsServerRootHint
- DnsServerScavenging
- DnsServerSecondaryZone
- DnsServerSetting
- DnsServerSettingLegacy
- DnsServerZoneAging
- DnsServerZoneScope
- DnsServerZoneTransfer
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.