-
Notifications
You must be signed in to change notification settings - Fork 55
DnsServerClientSubnet
dscbot edited this page Aug 19, 2024
·
2 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name | Key | String | Specifies the name of the client subnet. | |
IPv4Subnet | Write | StringArray[] | Specify an array (1 or more values) of IPv4 Subnet addresses in CIDR Notation. | |
IPv6Subnet | Write | StringArray[] | Specify an array (1 or more values) of IPv6 Subnet addresses in CIDR Notation. | |
Ensure | Write | String | Should this DNS server client subnet be present or absent |
Present , Absent
|
The DnsServerClientSubnet DSC resource manages DNS Client Subnets on a Domain Name System (DNS) server. A client subnet is a group of IP subnets that represent a logical group, for example, a geographical area, a datacenter, or a trusted resolver fleet. You can use client subnets in criteria in DNS policies. Multiple DNS policies can refer to the same client subnet.
- Target machine must be running Windows Server 2016 or later.
This configuration will manage a DNS client subnet
Configuration DnsServerClientSubnet_config
{
Import-DscResource -ModuleName 'DnsServerDsc'
Node localhost
{
DnsServerClientSubnet 'ClientSubnet1'
{
Name = 'London'
IPv4Subnet = @('10.1.0.0/16', '10.8.0.0/16')
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