Table of Contents
Parameters
| 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 | System.Boolean | Specifies whether to enable the server to probe other servers to determine whether they support EDNS. | |
| EnableReception | Write | 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. |
Description
The DnsServerEDns DSC resource manages extension mechanisms for DNS (EDNS) on a Microsoft Domain Name System (DNS) server.
Examples
Example 1
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'
}
}
}
Example 2
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
}
}
}
Example 3
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
}
}
}
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.