Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 3 DNS Configuration Commands
3Com Corporation
3-2
3.1.2 ip host
Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Parameter
hostname: The name of a host, a character string with its length from 1 to 20.
ip-address: The IP address corresponding to a host name, whose format can be
A.B.C.D
Description
Use the ip host command to configure the IP address corresponding to a host name.
Use the undo ip host command to remove the IP address corresponding to a host
name.
A hostname can be mapped to one IP address only.
By default, the static domain name table is empty, that is, no hostname-to-IP map.
Example
# Configure the IP address corresponding to the host name router1 as 10.110.0.1.
[3Com] ip host router1 10.110.0.1
# Configure the IP address corresponding to the host name router2 as 10.110.0.2.
[3Com] ip host router2 10.110.0.2
# Configure to assign the IP address 10.110.0.3 to the host name router3.
[3Com] ip host router3 10.110.0.3
# Remove the IP address 10.110.0.2 corresponding to the host name router2.
[3Com] undo ip host router2 10.110.0.2
3.2 DNS Client Configuration Commands
3.2.1 debugging dns
Syntax
debugging dns
undo debugging dns










