Operation Manual – DNS
H3C S5600 Series Ethernet Switches
Chapter 1 DNS Configuration
1-4
To do…
Use the command…
Remarks
Configure DNS suffixes
dns domain
domain-name
Optional
No DNS suffix is
configured by default
Note:
You may configure up to six DNS servers and ten DNS suffixes.
1.3 Displaying and Maintaining DNS
To do…
Use the 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
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 Examples
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.
II. Network diagram
Figure 1-2
Network diagram for static DNS configuration