DnsServerPrimaryZone class

DNS Primary Zone.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerPrimaryZone : DnsServerZone
{
  string  DistinguishedName;
  string  ZoneName;
  string  ZoneType;
  boolean IsPaused;
  boolean IsDsIntegrated;
  boolean IsAutoCreated;
  boolean IsReverseLookupZone;
  boolean IsReadOnly;
  boolean IsShutdown;
  string  DirectoryPartitionName;
  string  ReplicationScope;
  string  ZoneFile;
  string  Notify;
  string  NotifyServers[];
  string  SecureSecondaries;
  string  SecondaryServers[];
  string  DynamicUpdate;
  boolean IsWinsEnabled;
  boolean IsSigned;
  string  AllowedDcForNsRecordsAutoCreation[];
  boolean IsPluginEnabled;
  boolean IgnorePolicies;
};

Members

The DnsServerPrimaryZone class has these types of members:

Properties

The DnsServerPrimaryZone class has these properties.

AllowedDcForNsRecordsAutoCreation

Data type: string array

Access type: Read/write

Specifies the Domain Controllers which can register the NS records for this zone.

DirectoryPartitionName

Data type: string

Access type: Read/write

Directory Partition Name

DistinguishedName

Data type: string

Access type: Read-only

The Lightweight Directory Access Protocol (LDAP) name of the domain.

This property is inherited from DnsDomain.

DynamicUpdate

Data type: string

Access type: Read/write

Dynamic update

The possible values are.

None ("None")

Secure ("Secure")

NonsecureAndSecure ("NonsecureAndSecure")

IgnorePolicies

Data type: boolean

Access type: Read-only

true if the policies of this zone are to be ignored; otherwise, false.

Windows Server 2012 R2 and Windows Server 2012: Not supported.

IsAutoCreated

Data type: boolean

Access type: Read-only

true if the zone is automatically created; otherwise, false.

This property is inherited from DnsServerZone.

IsDsIntegrated

Data type: boolean

Access type: Read-only

true if the zone is integrated with Active Directory; otherwise, false.

This property is inherited from DnsServerZone.

IsPaused

Data type: boolean

Access type: Read-only

true if the zone is paused; otherwise, false.

This property is inherited from DnsServerZone.

IsPluginEnabled

Data type: boolean

Access type: Read-only

Qualifiers: Experimental

Not supported.

Windows Server 2012 R2: true if the zone is plugin enabled.

Windows Server 2012: Not supported.

IsReadOnly

Data type: boolean

Access type: Read-only

true if the zone is read-only; otherwise, false.

This property is inherited from DnsServerZone.

IsReverseLookupZone

Data type: boolean

Access type: Read-only

true if the zone is a reverse lookup zone; otherwise, false.

This property is inherited from DnsServerZone.

IsShutdown

Data type: boolean

Access type: Read-only

true if the zone is shutdown; otherwise, false.

This property is inherited from DnsServerZone.

IsSigned

Data type: boolean

Access type: Read-only

Specified if the zone is signed.

IsWinsEnabled

Data type: boolean

Access type: Read-only

Specified if WINS is enabled on the zone.

Notify

Data type: string

Access type: Read/write

Notify secondary servers

The possible values are.

NoNotify ("NoNotify")

Notify ("Notify")

NotifyServers ("NotifyServers")

NotifyServers

Data type: string array

Access type: Read/write

Secondary servers

ReplicationScope

Data type: string

Access type: Read/write

Replication Scope

The possible values are.

Forest ("Forest")

Domain ("Domain")

Legacy ("Legacy")

Custom ("Custom")

SecondaryServers

Data type: string array

Access type: Read/write

Zone transfer servers

SecureSecondaries

Data type: string

Access type: Read/write

Zone transfer

The possible values are.

NoTransfer ("NoTransfer")

TransferAnyServer ("TransferAnyServer")

TransferToZoneNameServer ("TransferToZoneNameServer")

TransferToSecureServers ("TransferToSecureServers")

ZoneFile

Data type: string

Access type: Read/write

Zone file path

ZoneName

Data type: string

Access type: Read/write

The name of the zone.

This property is inherited from DnsServerZone.

ZoneType

Data type: string

Access type: Read-only

The zone type.

This property is inherited from DnsServerZone.

The possible values are.

Cache ("Cache")

Primary ("Primary")

Secondary ("Secondary")

Stub ("Stub")

Forwarder ("Forwarder")

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

DnsServerZone

DnsServerPSProvider Provider