DnsServerZone class
Represents a 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 DnsServerZone : DnsDomain
{
string DistinguishedName;
string ZoneName;
string ZoneType;
boolean IsPaused;
boolean IsDsIntegrated;
boolean IsAutoCreated;
boolean IsReverseLookupZone;
boolean IsReadOnly;
boolean IsShutdown;
};
Members
The DnsServerZone class has these types of members:
Properties
The DnsServerZone 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.
-
-
IsAutoCreated
-
-
Data type: boolean
-
Access type: Read-only
true if the zone is automatically created; otherwise, false.
-
-
IsDsIntegrated
-
-
Data type: boolean
-
Access type: Read-only
true if the zone is integrated with Active Directory; otherwise, false.
-
-
IsPaused
-
-
Data type: boolean
-
Access type: Read-only
true if the zone is paused; otherwise, false.
-
-
IsReadOnly
-
-
Data type: boolean
-
Access type: Read-only
true if the zone is read-only; otherwise, false.
-
-
IsReverseLookupZone
-
-
Data type: boolean
-
Access type: Read-only
true if the zone is a reverse lookup zone; otherwise, false.
-
-
IsShutdown
-
-
Data type: boolean
-
Access type: Read-only
true if the zone is shutdown; otherwise, false.
-
-
ZoneName
-
-
Data type: string
-
Access type: Read/write
The name of the zone.
-
-
ZoneType
-
-
Data type: string
-
Access type: Read-only
The zone type.
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 |
|
DLL |
|