-
Notifications
You must be signed in to change notification settings - Fork 55
DnsServerZoneScope
dscbot edited this page Aug 19, 2024
·
2 revisions
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. |
The DnsServerZoneScope 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.
- Target machine must be running Windows Server 2016 or later.
This configuration will manage a DNS zone scope
Configuration DnsServerZoneScope_config
{
Import-DscResource -ModuleName 'DnsServerDsc'
DnsServerZoneScope 'ZoneScope1'
{
Name = 'contoso_NorthAmerica'
ZoneName = 'contoso.com'
Ensure = 'Present'
}
}
- DnsRecordA
- DnsRecordAaaa
- DnsRecordAaaaScoped
- DnsRecordAScoped
- DnsRecordCname
- DnsRecordCnameScoped
- DnsRecordMx
- DnsRecordMxScoped
- DnsRecordNs
- DnsRecordNsScoped
- DnsRecordPtr
- DnsRecordSrv
- DnsRecordSrvScoped
- DnsServerADZone
- DnsServerCache
- DnsServerClientSubnet
- DnsServerConditionalForwarder
- DnsServerDiagnostics
- DnsServerDsSetting
- DnsServerEDns
- DnsServerForwarder
- DnsServerPrimaryZone
- DnsServerRecursion
- DnsServerRootHint
- DnsServerScavenging
- DnsServerSecondaryZone
- DnsServerSetting
- DnsServerSettingLegacy
- DnsServerZoneAging
- DnsServerZoneScope
- DnsServerZoneTransfer