DnsServerZonesAging 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.
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Mandatory |
Hashtable[] |
List of DNS Zones |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name |
Key |
String |
Name of the DNS forward or reverse lookup zone. |
|
Enabled |
Boolean |
Option to enable scavenge stale resource records on the zone. |
|
|
RefreshInterval |
UInt32 |
Refresh interval for record scavenging in hours. |
Default: |
|
NoRefreshInterval |
UInt32 |
No-refresh interval for record scavenging in hours. |
Default: |
Example
DnsServerZonesAging:
Zones:
- Name: north.contoso.com
Enabled: True
RefreshInterval: 120 # 5 days
NoRefreshInterval: 240 # 10 days
- Name: south.contoso.com
Enabled: True
- Name: east.contoso.com
Enabled: False