-
Notifications
You must be signed in to change notification settings - Fork 55
xDnsServerZoneAging
Johan Ljunggren edited this page Jul 9, 2021
·
3 revisions
⚠️ DEPRECATED! The resource has been replaced by DnsServerZoneAging in the DSC resource module DnsServerDsc.
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name | Key | String | Name of the DNS forward or reverse lookup zone. | |
Enabled | Required | Boolean | Option to enable scavenge stale resource records on the zone. | |
RefreshInterval | Write | UInt32 | Refresh interval for record scavenging in hours. Default value is 168 , 7 days. |
|
NoRefreshInterval | Write | UInt32 | No-refresh interval for record scavenging in hours. Default value is 168 , 7 days. |
The xDnsServerZoneAging DSC resource manages aging settings for a Domain Name System (DNS) server zone.
A resource record can remain on a DNS server after the resource is no longer part of the network. Aging settings determine when a record can be removed, or scavenged, as a stale record.
This configuration will manage aging of a DNS forward zone
Configuration xDnsServerZoneAging_forward_config
{
Import-DscResource -ModuleName 'xDnsServer'
Node localhost
{
xDnsServerZoneAging 'DnsServerZoneAging'
{
Name = 'contoso.com'
Enabled = $true
RefreshInterval = 120 # 5 days
NoRefreshInterval = 240 # 10 days
}
}
}
This configuration will manage aging of a DNS reverse zone
Configuration xDnsServerZoneAging_reverse_config
{
Import-DscResource -ModuleName 'xDnsServer'
Node localhost
{
xDnsServerZoneAging 'DnsServerReverseZoneAging'
{
Name = '168.192.in-addr-arpa'
Enabled = $true
RefreshInterval = 168 # 7 days
NoRefreshInterval = 168 # 7 days
}
}
}
- 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