Changes the number of seconds to wait for a reply to a lookup request. Use the nslookup set retry command to determine the number of times to try to send the request.
Syntax
set timeout=<number>
Parameters
| Parameter | Description |
|---|---|
<number> |
Specifies the number of seconds to wait for a reply. The default number of seconds to wait is 2. |
| /? | Displays help at the command prompt. |
| /help | Displays help at the command prompt. |
Examples
To set the timeout for getting a response to 5 seconds:
set timeout=5
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
