Nslookup: set retry

Sets the number of retries.


set ret[ry]=number


number : 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.

Formatting legend




Information that the user must supply


Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Nslookup subcommands

Nslookup: set timeout

Command-line reference A-Z