Share via


DnsServerSecondaryZone class

Represents a secondary DNS 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 DnsServerSecondaryZone : DnsServerZone
{
  string   DistinguishedName;
  string   ZoneName;
  string   ZoneType;
  boolean  IsPaused;
  boolean  IsDsIntegrated;
  boolean  IsAutoCreated;
  boolean  IsReverseLookupZone;
  boolean  IsReadOnly;
  boolean  IsShutdown;
  string   ZoneFile;
  string   MasterServers[];
  boolean  IsWinsEnabled;
  datetime LastSuccessfulSoaCheck;
  datetime LastZoneTransferAttempt;
  datetime LastSuccessfulZoneTransfer;
  uint32   LastZoneTransferResult;
  boolean  IgnorePolicies;
};

Members

The DnsServerSecondaryZone class has these types of members:

Properties

The DnsServerSecondaryZone class has these properties.

DistinguishedName

Data type: string

Access type: Read-only

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

This property is inherited from DnsDomain.

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.

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.

IsWinsEnabled

Data type: boolean

Access type: Read-only

true if WINS is enabled in the zone; otherwise, false.

LastSuccessfulSoaCheck

Data type: datetime

Access type: Read-only

The time when the last SOA check occurred in the zone.

LastSuccessfulZoneTransfer

Data type: datetime

Access type: Read-only

The time when the last successful zone transfer occurred in the zone.

LastZoneTransferAttempt

Data type: datetime

Access type: Read-only

The time when last zone transfer occurred in the zone.

LastZoneTransferResult

Data type: uint32

Access type: Read-only

The result of the last successful zone transfer operation.

MasterServers

Data type: string array

Access type: Read/write

An array that contains identifiers of the master name servers..

ZoneFile

Data type: string

Access type: Read/write

The zone file of the secondary zone.

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.

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