nslookup set retry

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

If a reply isn't received within a certain amount of time, the time-out period is doubled, and the request is resent. This command sets the number of times a request is resent to a server for information, before giving up.

Note

To change the length of time before the request times out, use the nslookup set timeout command.

Syntax

set retry=<number>

Parameters

Parameter Description
<number> Specifies the new value for the number of retries. The default number of retries is 4.
/? Displays help at the command prompt.
/help Displays help at the command prompt.