H3C LS-3100-52P-OVS-H3 Operation Manual - page 420
1-4
Configuring the DNS Client
Configuring Static Domain Name Resolution
Follow these steps to configure static domain name resolution:
To do…
Use the command…
Remarks
Enter system view
system-view
––
Configure a mapping between a host
name and IP address in the static
name resolution table
ip host hostname ip-address
Required
Not configured by default.
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:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable dynamic domain name
resolution
dns resolve
Required
Disabled by default.
Specify a DNS server
dns server ip-address
Required
Not specified by default.
Configure a domain name
suffix
dns domain domain-name
Optional
Not configured by default, that
is, only the provided domain
name is resolved.
You may configure up to six DNS servers and ten DNS suffixes.