Nslookup /set timeout

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Changes the initial number of seconds to wait for a reply to a lookup request.


set timeout=<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.


  • 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.


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