set ip dns query-retries

Use this command to configure the number of times to retry a lookup request to a DNS server that has failed to respond.

Syntax

set ip dns query-retries retries

Parameters

retries Specifies the number of times to retry a lookup request to a DNS server that has failed to respond. Valid Values: 1-65535. Default value: 2.

Defaults

None.

Mode

All command modes.

Usage

The number of retries specified in this command is per name server. Each configured name server will be retried the number of times configured by this command before moving to the next configured server.

Example

This example sets the number server request retries for each name server to 4:

System(rw)->set ip dns query-retries 4
System(rw)->