Partager via


DnsServerRecursionScope class

Represents a recursion scope 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 DnsServerRecursionScope
{
  string  Name;
  string  Forwarder[];
  boolean EnableRecursion;
};

Members

The DnsServerRecursionScope class has these types of members:

Properties

The DnsServerRecursionScope class has these properties.

EnableRecursion

Data type: boolean

Access type: Read/write

True to enable recursion; otherwise, false.

Forwarder

Data type: string array

Access type: Read/write

An array that contains the IP addresses of DNS servers to query.

Name

Data type: string

Access type: Read/write

The name of the scope settings.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPsProvider.mof
DLL
DNSServerPSProvider.dll

See also

DnsServerPSProvider Provider