Nslookup /set retry

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2

Sets the number of retries.


set retry=<Number>


Parameter Description


Specifies the new value for the number of retries. The default number of retries is 4.

{help | ?}

Displays a short summary of nslookup subcommands.


  • When a reply to a request is not received within a certain amount of time, the time-out period is doubled and the request is resent. The retry value controls how many times a request is resent before giving up. You can change the time-out period with the set timeout subcommand.

Additional references

Command-Line Syntax Key

Nslookup /set timeout