![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/6d/36db2b94-b5fe-4d9d-af19-800fbd7667e8/36db2b94-b5fe-4d9d-af19-800fbd7667e8-bg287.png)
1-3
To do… Use the command… Remarks
Enter system view
system-view
—
Configure a mapping
between a host name and
an IP address
ip host hostname ip-address
Required
No IP address is assigned to a
host name by default.
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… Use the command… Remarks
Enter the 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
You may configure up to six DNS servers and ten DNS suffixes.
DNS Configuration Example
Static Domain Name Resolution Configuration Example
Network requirements
As shown in Figure 1-2, Switch uses static domain name resolution to access host 10.1.1.2 through
domain name host.com.