Skip to content

Latest commit

 

History

History
98 lines (75 loc) · 2.13 KB

DnsServerZonesAging.adoc

File metadata and controls

98 lines (75 loc) · 2.13 KB

DSC Resource 'DnsServerZonesAging'

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

Table 1. Attributes of category 'DnsServerZonesAging'
Parameter Attribute DataType Description Allowed Values

Zones

Mandatory

Hashtable[]

List of DNS Zones

Table 2. Attributes of category 'DnsServerZonesAging/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.

  • True (default)

  • False

RefreshInterval

UInt32

Refresh interval for record scavenging in hours.

Default: 168 → 7 days

NoRefreshInterval

UInt32

No-refresh interval for record scavenging in hours.

Default: 168 → 7 days

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