Creating and Manipulating Zones

The MicrosoftDNS_Zone class provides a plethora of properties and methods to aid in managing your zones. Even if you are using AD-integrated zones, which help reduce the amount of work it takes to maintain DNS, you will inevitably need to configure settings on a zone or create additional zones. In Table 27-3 and Table 27-4, the list of available properties and methods for the MicrosoftDNS_Zone class are presented.

Table 27-3. MicrosoftDNS_Zone class properties

Property name

Property description

AllowUpdate

Flag indicating whether dynamic updates are allowed.

AutoCreated

Flag indicating whether the zone was auto-created.

DataFile

Name of zone file.

DisableWINSRecordReplication

If TRUE, WINS record replication is disabled.

MastersIPAddressesArray

If zone is a secondary, this contains the list of master servers to receive updates from.

Notify

If set to 1, the master server will notify secondaries of zone updates.

NotifyIPAddressesArray

Servers that will be notified when there are updates to the zone.

Paused

Flag indicating whether the zone is paused and therefore not responding to requests.

Reverse

If TRUE, zone is a reverse (in-addr.arpa) zone. If FALSE, zone is a forward zone.

SecondariesIPAddressesArray

Servers allowed to receive zone transfers.

SecureSecondaries

Flag indicating whether zone transfers are allowed only to servers specified in SecondariesIPAddressesArray.

Shutdown

If TRUE, zone has expired (or shutdown).

UseWins ...

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.