-
Notifications
You must be signed in to change notification settings - Fork 55
DnsServerEDns
dscbot edited this page Aug 19, 2024
·
3 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
DnsServer | Key | System.String | The host name of the Domain Name System (DNS) server, or use 'localhost' for the current node. |
|
CacheTimeout | Write | System.String | Specifies the number of seconds that the DNS server caches EDNS information. | |
EnableProbes | Write | Nullable[System.Boolean] | Specifies whether to enable the server to probe other servers to determine whether they support EDNS. | |
EnableReception | Write | Nullable[System.Boolean] | Specifies whether the DNS server accepts queries that contain an EDNS record. | |
Reasons | Read | DnsServerReason[] | Returns the reason a property is not in desired state. |
The DnsServerEDns DSC resource manages extension mechanisms for DNS (EDNS) on a Microsoft Domain Name System (DNS) server.
This configuration will change the cache timeout for extension mechanisms for DNS (EDNS) on the DNS server.
Configuration DnsServerEDns_SetCacheTimeout_Config
{
Import-DscResource -ModuleName 'DnsServerDsc'
Node localhost
{
DnsServerEDns 'SetCacheTimeout'
{
DnsServer = 'localhost'
CacheTimeout = '00:15:00'
}
}
}
This configuration will enable probes for the extension mechanisms for DNS (EDNS) on the DNS server.
Configuration DnsServerEDns_EnableProbes_Config
{
Import-DscResource -ModuleName 'DnsServerDsc'
Node localhost
{
DnsServerEDns 'EnableProbes'
{
DnsServer = 'localhost'
EnableProbes = $true
}
}
}
This configuration will allow to accepts queries for the extension mechanisms for DNS (EDNS) on the DNS server.
Configuration DnsServerEDns_EnableReception_Config
{
Import-DscResource -ModuleName 'DnsServerDsc'
Node localhost
{
DnsServerEDns 'EnableReception'
{
DnsServer = 'localhost'
EnableReception = $true
}
}
}
- 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