Configuring System Information 151
Configuring DNS Servers Using the CLI Commands
The following table summarizes the CLI commands for configuring DNS servers.
The following is an example of the CLI commands:
Console(config)# ip name-server 176.16.1.18
Defining Default Domains
The
Default Domain Name
page
provides information for defining default DNS domain names.
To open the
Default Domain Name
page, click
System
→
IP Addressing
→
Default Domain Name
.
Table 6-20. DNS Server CLI Commands
CLI Command Description
ip name-server
server-address
Sets the available name servers. Up to eight name
servers can be set.
no ip name-server
server-address
Removes a name server.
ip domain-name
name
Defines a default domain name that the software
uses to complete unqualified host names.(Range:
1-158 Characters)
no ip domain-name Deletes the default domain name (DNS)
clear host {
name |
*
}
Deletes entries from the host name-to-address
cache.
show hosts [
name
] Displays the default domain name, list of name
server hosts, the static and the cached list of host
names and addresses.
ip domain-lookup Enables DNS system for translating host names
to IP addresses.
no ip domain-lookup Disables DNS system for translating host names
to IP addresses.