Command Line Interface
9631553-KDU 137 365 Uen D 2006-06-16
7.22 Domain Name Service Commands
These commands are used to configure Domain Naming System (DNS)
services. Entries can be manually configured in the DNS domain name to IP
address mapping table, default domain names configured, or one or more name
servers specified to use for domain name to address translation.
Note that domain name services will not be enabled until at least one name
server is specified with the ip name-server command and domain lookup is
enabled with the ip domain-lookup command.
Table 112 DNS Commands
Command Function Mode Page
ip host Creates a static host name-to-address mapping GC 964
clear host Deletes entries from the host name-to-address table PE 965
ip domain-name Defines a default domain name for incomplete host
names
GC 966
ip domain-list Defines a list of default domain names for incomplete
host names
GC 967
ip name-server Specifies the address of one or more name servers to
use for host name-to-address translation
GC 968
ip domain-
lookup
Enables DNS-based host name-to-address
translation
GC 969
show hosts Displays the static host name-to-address mapping
table
PE 971
show dns Displays the configuration for DNS services PE 971
show dns cache Displays entries in the DNS cache PE 972
clear dns
cache
Clears all entries from the DNS cache PE 973