DnsServerSettingBrief class

Represents general information about a DNS server.

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 DnsServerSettingBrief
{
  string  ComputerName;
  string  AllIPAddress[];
  string  ListeningIPAddress[];
  uint32  MajorVersion;
  uint32  MinorVersion;
  uint32  BuildNumber;
  boolean IsReadOnlyDC;
  boolean EnableDnsSec;
  boolean EnableIPv6;
};

Members

The DnsServerSettingBrief class has these types of members:

Properties

The DnsServerSettingBrief class has these properties.

AllIPAddress

Data type: string array

Access type: Read-only

An array that contains the IP addresses that are managed by the server.

BuildNumber

Data type: uint32

Access type: Read-only

The build number of the server.

ComputerName

Data type: string

Access type: Read-only

The name of the computer that runs the DNS server.

EnableDnsSec

Data type: boolean

Access type: Read/write

true to enable DNSSEC validation by the server; otherwise, false.

EnableIPv6

Data type: boolean

Access type: Read/write

true to enable IPV6 on the server; otherwise, false.

IsReadOnlyDC

Data type: boolean

Access type: Read-only

true to enable write operations on the directory server; otherwise, false.

ListeningIPAddress

Data type: string array

Access type: Read/write

An array that contains the listening IP addresses for the server.

MajorVersion

Data type: uint32

Access type: Read-only

The major version of the server installation.

MinorVersion

Data type: uint32

Access type: Read-only

The minor version of the server installation.

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

DnsServerPSProvider Provider