Manipulating DNS Server Configuration

There are close to 50 different settings that can be configured on a Microsoft DNS server. They range from default scavenging and logging settings to settings that customize the DNS server behavior, such as how zone transfers will be sent to secondaries and whether to round-robin multiple A record responses.

The DNS provider is mapped to the root\MicrosoftDNS namespace. A DNS server is represented by an instance of a MicrosoftDNS_Server class, which is derived from the CIM_Service class. Table 27-1 contains all the property methods available in the MicrosoftDNS_Server class.

Table 27-1. MicrosoftDNS_Server class properties

Property name

Property description

AddressAnswerLimit

Max number of records to return for address requests (e.g., A records).

AllowUpdate

Determines whether DDNS updates are allowed.

AutoConfigFileZones

Indicates which standard primary zones that are authoritative for the name of the DNS server must be updated when the name server changes.

AutoCacheUpdate

Indicates whether the DNS server will dynamically attempt to update its root hints (also known as cache) file.

BindSecondaries

Determines the format zone transfers (AXFR) will be sent as to non-Microsoft DNS servers.

BootMethod

Determines where the server will read its zone information.

DefaultAgingState

For AD-integrated zones, the default scavenging interval in hours.

DefaultNoRefreshInterval

For AD-integrated zones, the default no-refresh interval in hours. ...

Get Active Directory, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.