
55-4
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
You may configure up to six DNS servers and ten DNS suffixes.
Configuring the DNS Proxy
Follow these steps to configure the DNS proxy:
To do… Use the command… Remarks
Enter system view
system-view
—
Enable DNS proxy
dns proxy enable
Required
Disabled by default.
Komentáře k této Příručce