-
Notifications
You must be signed in to change notification settings - Fork 55
DnsServerConditionalForwarder
dscbot edited this page Aug 19, 2024
·
2 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Ensure | Write | String | Ensure whether the zone is absent or present. |
Present , Absent
|
Name | Key | String | The name of the zone to manage. | |
MasterServers | Write | StringArray[] | The IP addresses the forwarder should use. Mandatory if Ensure is present. | |
ReplicationScope | Write | String | Whether the conditional forwarder should be replicated in AD, and the scope of that replication. Default is None . |
None , Custom , Domain , Forest , Legacy
|
DirectoryPartitionName | Write | String | The name of the directory partition to use when the ReplicationScope is Custom . This value is ignored for all other replication scopes. |
|
ZoneType | Read | String | The zone type |
The DnsServerConditionalForwarder DSC resource manages a conditional forwarder on a Domain Name System (DNS) server.
You can manage the master servers, forwarder time-out, recursion, recursion scope, and directory partition name for a conditional forwarder zone.
This configuration will manage a DNS server conditional forwarder
Configuration DnsServerConditionalForwarder_config
{
Import-DscResource -ModuleName 'DnsServerDsc'
Node localhost
{
DnsServerConditionalForwarder 'Forwarder1'
{
Name = 'London'
MasterServers = @('10.0.1.10', '10.0.2.10')
ReplicationScope = 'Forest'
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