Поделиться через


DnsServerRecursion class

Represents the recursion settings 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 DnsServerRecursion
{
  uint32  Timeout;
  uint32  RetryInterval;
  uint32  AdditionalTimeout;
  boolean Enable;
  boolean SecureResponse;
};

Members

The DnsServerRecursion class has these types of members:

Properties

The DnsServerRecursion class has these properties.

AdditionalTimeout

Data type: uint32

Access type: Read/write

The time interval, in seconds, that a DNS server waits as it uses recursion to get resource records from a remote DNS server. We recommend that you limit the value to the range 0x00000000 to 0x0000000F (0 seconds to 15 seconds), inclusive. However, you can use any value. We recommend that you set the default value to 4.

Enable

Data type: boolean

Access type: Read/write

True to enable recursion on the DNS server; otherwise, false.

RetryInterval

Data type: uint32

Access type: Read/write

The elapsed seconds before a DNS server retries a recursive lookup. If the parameter is undefined or zero, the DNS server retries after three seconds. Valid values range from 1 to 15 seconds.

SecureResponse

Data type: boolean

Access type: Read/write

True for the DNS server to screen DNS records against the zone of authority for the remote server, to prevent cache pollution; otherwise, false.

Timeout

Data type: uint32

Access type: Read/write

The number of seconds that a DNS server waits before it stops trying to contact a remote server. The valid value is in the range of 0x1 to 0xFFFFFFFF (1 second to 15 seconds). The default setting is 0xF (15 seconds). We recommend that you increase this value when recursion occurs over a slow link.

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