Chapter 3 Configuring the Domain Name Service
Using DNS Resolve
3-2
Cisco Content Services Switch Getting Started Guide
OL-6037-01
Using DNS Resolve
To resolve a host name by querying the DNS server, use the
dns resolve
command. Enter the host name you want to resolve in mnemonic host-name
format (for example, myhost.mydomain.com).
For example:
(config)#
dns resolve fred.arrowpoint.com
Specifying a Secondary DNS Server
When a primary DNS server fails, the CSS uses the secondary DNS server to
resolve host names to IP addresses. Use the
dns secondary
command to specify
a secondary DNS server. Enter the IP address of the secondary DNS server in
dotted-decimal notation (for example, 192.168.11.1).
(config)#
dns secondary 192.168.3.6
You can specify a maximum of two secondary servers. To specify each additional
server, repeat the
dns secondary
command. The order in which you enter the IP
addresses is the order in which they are used when the primary DNS server fails.
To remove a secondary DNS server, specify the
no
version of the command
followed by the IP address of the DNS server you wish to remove. For example:
(config)#
no dns secondary 192.168.3.6
Specifying a DNS Suffix
To specify the default suffix to use when querying the DNS facility, use the
dns
suffix
command. Enter the default suffix as an unquoted text string with no spaces
and a maximum of 64 characters.
For example:
(config)#
dns suffix arrowpoint.com
To remove the default DNS suffix, enter:
(config)#
no dns suffix