Operation Manual - DNS
H3C S3100 Series Ethernet Switches Chapter 1 DNS Configuration
1-4
 Note:
You may configure up to six DNS servers and ten DNS suffixes.
1.3 Displaying and Maintaining DNS
After the above configuration, you can execute the display command and the
nslookup type command in any view to display the DNS configuration information and
the DNS resolution result to verify the configuration effect. You can execute the reset
command in user view to clear the information stored in the dynamic domain name
resolution cache.
Table 1-3 Display and maintain DNS
Operation Command… Remarks
Display static DNS
database
display ip host
Display the DNS server
information
display dns server [ dynamic ]
Display the DNS suffixes display dns domain [ dynamic ]
Display the information in
the dynamic domain name
cache
display dns dynamic-host
Available in any
view
Display the DNS resolution
result
nslookup type { ptr ip-address |
a domain-name }
Available in any
view
Clear the information in the
dynamic domain name
cache
reset dns dynamic-host
Available in
user view
1.4 DNS Configuration Example
1.4.1 Static Domain Name Resolution Configuration Example
I. Network requirements
The switch uses static domain name resolution to access host 10.1.1.2 through domain
name host.com.