User`s manual
User’s Manual 215
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS disabled
Default Domain Name:
sample.com
Domain Name List:
Name Server List:
Console#
Related Commands
ip domain-list
ip name-server
ip domain-lookup
show dns
16.55 ip host
This command creates a static entry in the DNS table that maps a host name to an IP address. Use the no
form to remove an entry.
Syntax Description
[no] ip host name address1 [address2 … address8]
name Name of the host. (Range: 1-64 characters)
address1 Corresponding IP address.
address2 … address8 Additional corresponding IP addresses.
Default
No static entries
Command Mode
Global Configuration
Usage Guidelines
Servers or other network devices may support one or more connections via multiple IP addresses. If more
than one IP address is associated with a host name using this command, a DNS client can try each address
in succession, until it establishes a connection with the target device.
Example
This example maps two address to a host name and uses the show hosts commands to confirm
configuration.
Console(config)#ip host rd5 192.168.1.55 10.1.0.55