Nslookup: set retry

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

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

Format Meaning


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

See Also


Nslookup subcommands
Nslookup: set timeout
Command-line reference A-Z
Command shell overview