Partager via


Nslookup /set timeout

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2

Changes the initial number of seconds to wait for a reply to a lookup 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 5.

{help | ?}

Displays a short summary of nslookup subcommands.

Remarks

  • When a reply to a request is not received within the specified time period, the time-out is doubled and the request is sent again. You can use the set retry command to control the number of retries.

Examples

The following example sets the timeout for getting a response to 2 seconds:

set timeout=2

Additional references

Command-Line Syntax Key

Nslookup /set retry