36-1

C
HAPTER
36D

OMAIN

N

AME

S
ERVICE
C
OMMANDS
These commands are used to configure Domain Naming System (DNS)
services. You can manually configure entries in the DNS domain name to
IP address mapping table, configure default domain nam es, or specify one
or more name servers 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 36-1 DNS Commands
Command Function Mode Page
ip host Creates a static host name-to-address
mapping
GC 36-2
clear host Deletes entries from the host
name-to-address table
PE 36-3
ip domain-name Defines a default domain name for
incomplete host names
GC 36-4
ip domain-list Defines a list of default domain names for
incomplete host names
GC 36-5
ip name-server Specifies the address of one or more name
servers to use for host name-to-address
translation
GC 36-6
ip domain-lookup Enables DNS-based host name-to-address
translation
GC 36-7
show hosts Displays the static host n ame-to-address
mapping table
PE 36-8
show dns Displays the configuration for DNS services PE 36-9