C
OMMAND

L

INE

I

NTERFACE

4-176

Command Mode
Normal Exec, Privileged Exec
Example.
DNS Commands
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.
Console#show ip dhcp binding
IP MAC Lease Time Start
--------------- ----------------- ------------ -----------
192.1.3.21 00-00-e8-98-73-21 86400 Dec 25 08:01:57 2002
Console#
Command Function Mod
e
Page
ip host Creates a static host name-to-address mapping GC 3-17
7
clear host Deletes entries from the host name-to-address table PE 3-17
8
ip domain-name Defines a default domain name for incomplete host
names
GC 3-17
8
ip domain-list Defines a list of default domain names for incomplete
host names
GC 3-17
9
ip name-server Specifies the address of one or more name servers to
use for host name-to-address translation
GC 3-18
1
ip domain-lookup Enables DNS-based host name-to-address translation GC 3-18
2