3com MSR 20-20 참조 매뉴얼
770
C
HAPTER
57: DNS C
ONFIGURATION
C
OMMANDS
You can configure a maximum of six DNS servers.
Related command:
n
For details about IPv6 DNS, refer to “IPv6 Basics Configuration Commands” on
page 829.
page 829.
Example
# Configure 172.16.1.1 for the DNS server.
[Sysname] dns server 172.16.1.1
ip host
Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Parameter
Hostname: Host name, consisting of 1 to 20 characters, including case-insensitive
letters, numbers, hyphens (-), or dots (.). The host name must include at least one
letter.
letters, numbers, hyphens (-), or dots (.). The host name must include at least one
letter.
ip-address: IP address of the specified host in dotted decimal notation.
Description
Use the ip host command to create a mapping between host name and IP
address in the static resolving list.
address in the static resolving list.
Use the undo ip host command to remove the mapping.
No mappings are created by default.
You can configure only one mapping between IP address and host name. For
example, a mapping configured last time will overwrite the previous one if there is
any.
example, a mapping configured last time will overwrite the previous one if there is
any.
Related command:
Example
# Configure the IP address 10.110.0.1 for a host named aaa.
[Sysname] ip host aaa 10.110.0.1
reset dns dynamic-host
Syntax
reset dns dynamic-host
View
User view
Parameter
None