Configuring Domain Name Resolution
Configuring Static Domain Name Resolution
Follow these steps to configure static domain name resolution:
To do...
Enter system view
Configure a mapping between a
host name and an IP address
The IP address you assign to a host name last time 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...
Enter the system view
Enable dynamic domain name
resolution
Configure an IP address for the
DNS server
Configure DNS suffixes
You may configure up to six DNS servers and ten DNS suffixes.
Use the command...
system-view
ip host hostname ip-address
Use the command...
system-view
dns resolve
dns server ip-address
dns domain domain-name
1-3
Remarks
—
Required
No IP address is assigned to a host
name by default.
Remarks
—
Required
Disabled by default
Required
No IP address is configured for the
DNS server by default.
Optional
No DNS suffix is configured by
default