Partager via


DnsServerForwarder class

Represents a server level forwarder on 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 DnsServerForwarder
{
  boolean UseRootHint;
  uint32  Timeout;
  boolean EnableReordering;
  string  IPAddress[];
  string  ReorderedIPAddress[];
};

Members

The DnsServerForwarder class has these types of members:

Properties

The DnsServerForwarder class has these properties.

EnableReordering

Data type: boolean

Access type: Read/write

True to enable reordering of the forwarders; otherwise, false.

IPAddress

Data type: string array

Access type: Read/write

An array that contains the IP addresses of DNS servers where queries are forwarded.

ReorderedIPAddress

Data type: string array

Access type: Read-only

An array that contains the reordered IP addresses of the forwarder.

Timeout

Data type: uint32

Access type: Read/write

The timeout for the forwarder, in seconds.

UseRootHint

Data type: boolean

Access type: Read/write

True to use a root hint; otherwise, false.

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