共用方式為


ForwardingTimeout

HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters

Data type

Range

Default value

REG_DWORD

0x1–0xFFFFFFFF seconds

0x5

Description

Determines how long the Domain Name System (DNS) waits for each server in the list in Forwarders to respond to a query. If a forwarding server does not respond before the time specified here expires, the DNS server forwards the query to the next server in the Forwarders list. If none of the servers respond in the time specified by ForwardingTimeout, the value of the IsSlave entry determines how the DNS server responds to the original query.

Change method

To change the value of this entry, use the Forwarders tab in the DNS console, or use Dnscmd.exe, a tool included with the Windows 2000 Support Tools. Using either method, the change is effective immediately; you do not have to restart the DNS server.

Activation method

DNS reads its registry entries only when it starts. You can change entries while the DNS server is running by using the DNS console or Dnscmd.exe. If you change entries by editing the registry, the changes are not effective until you restart the DNS server.

Note Image Note

DNS adds this entry to the registry when you use the DNS Server Properties dialog box to enable forwarders.

This entry is used only when forwarding is enabled. If the value of the Forwarders entry does not contain at least one valid IP address, this entry is ignored.

Zero (0x0) is not a valid value for this entry. If you enter 0x0, DNS uses the default value, 0x5.

This value is used only when it is less than or equal to the value of the RecursionTimeout entry. If it is greater, the DNS server uses the value of the RecursionTimeout entry.

Windows 2000 does not add this entry to the registry. You can add it by editing the registry or by using a program that edits the registry.

Caution Image Caution

Do not change the value of this entry by editing the registry. If the Forwarders entry contains valid IP addresses and this entry is deleted, the DNS server might not start or might not operate properly.

Related Entries

Page Image

Forwarders

Page Image

IsSlave

Page Image

RecursionRetry

Page Image

RecursionTimeout