retries
To specify the number of times to retry the list of DNS servers when the ASA does not receive a response, use the dns retries command in global configuration mode. To restore the default setting, use the no form of this command.
retries number
no retries [ number ]
Syntax Description
number |
Specifies the number of retries, from 0 through 10. The default is 2. |
Command Default
The default number of retries is 2.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode |
Firewall Mode |
Security Context |
|||
---|---|---|---|---|---|
Routed |
Transparent |
Single |
Multiple |
||
Context |
System |
||||
Global configuration |
|
|
|
|
— |
Command History
Release |
Modification |
---|---|
7.1(1) |
This command was added. |
Usage Guidelines
Add DNS servers using the name-server command.
This command replaces the dns name-server command.
Examples
The following example sets the number of retries to 0. The ASA tries each server only once.
ciscoasa(config)# dns server-group dnsgroup1
ciscoasa(config-dns-server-group)# retries 0