H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – DNS
H3C S7500 Series Ethernet Switches Chapter 1
DNS Configuration
1-5
[H3C] dns domain com
Ping host on the switch to verify the configuration and the corresponding IP address (it
should be 3.1.1.1).
1.4 Displaying and Maintaining DNS Configuration
To do… Use the command… Remarks
Display static DNS list
information
display ip host
Display DNS server
information
display dns server
[ dynamic ]
Display DNS suffix list
information
display dns domain
Display dynamic DNS
cache information
display dns dynamic-host
Available in any view
Clear the dynamic DNS
cache.
reset dns dynamic-host
Available in user view
1.5 Troubleshooting DNS Configuration
I. Symptom
Dynamic DNS resolution is enabled, but the user cannot obtain the correct IP address
from a domain name.
II. Analysis
To obtain a correct IP address according to a domain name, the DNS client must be
used in cooperation with the DNS server.
III. Solution
z Use the display dns dynamic-host command to check whether the specified
domain name is available in the cache.
z If the specified domain name is available in the cache, but the IP address is wrong,
ensure that the DNS client has the correct IP address of the DNS server.
z If the specified domain name is not available in the cache, ensure that dynamic
DNS resolution is enabled, the DNS client can normally communicate with the
DNS server, and the DNS server works normally.
z Check whether the DNS mapping list is correct on the DNS server.