O'Reilly logo

Active Directory, Second Edition by Alistair G. Lowe-Norris, Robbie Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required