3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring Static Domain Name Resolution 755
Configuring Static
Domain Name
Resolution
Follow these steps to configure static domain name resolution:
n
The IP address you last assign to the host name will overwrite the previous one if
there is any.
You may create up to 50 static mappings between domain names and IP
addresses.
Configuring Dynamic
Domain Name
Resolution
Follow these steps to configure dynamic domain name resolution:
n
■ You may configure up to six DNS servers and ten DNS suffixes.
■ You can use the dns domain command to configure a DNS suffix with the
maximum length of 238 characters. Since a valid DNS suffix is a character
string separated by dots, with each separated part (label) containing no more
than 63 characters, any part exceeding this length may result in failure to
generate packets.
Displaying and
Maintaining DNS
To do... Use the command... Remarks
Enter system view system-view --
Configure a mapping
between host name and IP
address in the static DNS
database
ip host hostname ip-address Required
No mapping between host
name and IP address is
configured in the static DNS
database by default.
To do... Use the command... Remarks
Enter system view system-view -
Enable dynamic domain name
resolution
dns resolve Required
Disabled by default
Configure an IP address for the
DNS server
dns server ip-address Required
No IP address is configured
for the DNS server by
default.
Configure DNS suffixes dns domain domain-name Optional
No DNS suffix is configured
by default
To do... Use the command... Remarks
Display the static DNS
database
display ip host Available in any view
Display the DNS server
information
display dns server [
dynamic ]
Available in any view
Display the DNS suffixes display dns domain [
dynamic ]
Available in any view
Display the information in the
dynamic domain name cache
display dns dynamic-host Available in any view