MicrosoftDNS_Domain class

The MicrosoftDNS_Domain class represents a Domain in a DNS hierarchy.

The following syntax is simplified from MOF code.

Syntax

class MicrosoftDNS_Domain : CIM_LogicalElement
{
  string DnsServerName;
  string ContainerName;
  string Name;
};

Members

The MicrosoftDNS_Domain class has these types of members:

Methods

The MicrosoftDNS_Domain class has these methods.

Method Description
GetDistinguishedName Obtains DS distinguished Name for the zone.
Qualifiers: Implemented

Properties

The MicrosoftDNS_Domain class has these properties.

ContainerName

Data type: string

Access type: Read-only

Name of the container of the domain, which could be a Zone, Cache, or RootHints.

In cases where the Container is a Zone (an instance of the MicrosoftDNS_Zone class), this property contains the FQDN of the Zone.

When the Container is the root zone, the string \.\ should be used.

In cases where the Container is the DNS cache of resource records (an instance of the MicrosoftDNS_Cache class), this property is set to the string \..Cache\.

If the Container is RootHints (an instance of the MicrosoftDNS_RootHints class), this property should be set to \..RootHints\.

DnsServerName

Data type: string

Access type: Read-only

FQDN or IP address of the DNS Server that contains the domain.

Name

Data type: string

Access type: Read-only

FQDN of the domain.

For instances of DNS Cache or RootHints, the strings \..Cache\ and \..RootHints\ should be used, respectively.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows 2000 Server [desktop apps only]
Namespace
Root\MicrosoftDNS
MOF
Dnsprov.mof

See also

GetDistinguishedName Method of the MicrosoftDNS_Domain Class