974 CHAPTER 78: DNS CONFIGURATION
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.
Configuring the DNS 
Proxy
Follow these steps to configure the DNS proxy:
Displaying and 
Maintaining DNS
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.
To do…  Use the command…  Remarks 
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
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enable DNS proxy  dns proxy enable Required
Disabled by default.
To do…  Use the command…  Remarks 
Display the static domain name 
resolution table 
display ip host  Available in any view 
Display DNS server information  display dns server [ dynamic ]
Display domain name suffixes  display dns domain [ dynamic ]  Available in any view 
Display the information of the 
dynamic domain name cache 
display dns dynamic-host
Display the DNS proxy table  display dns proxy table
Clear the information of the 
dynamic domain name cache 
reset dns dynamic-host  Available in user view