![Huawei Quidway S5600 Operation Manual Download Page 986](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841986.webp)
Operation Manual - DNS
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 1 DNS Configuration
Huawei Technologies Proprietary
1-4
1.3.2 DNS Configuration Example
I. Network requirements
As shown in Figure 1-2, S5600 is used as a DNS Client with dynamic domain name
resolution to visit host 1 with IP address 3.1.1.1/16. The DNS Server has IP address
2.1.1.2/16. The DNS suffixes are com and net.
II. Network diagram
2.1.1.2/16
host1
3.1.1.1/16
DNS Client
DNS Server
Internet
2.1.1.1/16
1.1.1.1/16
2.1.1.2/16
host1
3.1.1.1/16
DNS Client
DNS Server
Internet
2.1.1.1/16
1.1.1.1/16
S5600
2.1.1.2/16
host1
3.1.1.1/16
DNS Client
DNS Server
Internet
2.1.1.1/16
1.1.1.1/16
2.1.1.2/16
host1
3.1.1.1/16
DNS Client
DNS Server
Internet
2.1.1.1/16
1.1.1.1/16
2.1.1.2/16
3.1.
2.1.1.2/16
host1
host1
3.1.1.1/16
DNS Client
DNS Server
Internet
2.1.1.1/16
1.1.1.1/16
2.1.1.2/16
host1
3.1.1.1/16
DNS Client
DNS Server
Internet
2.1.1.1/16
1.1.1.1/16
S5600
2.1.1.2/16
host1
3.1.1.1/16
DNS Client
DNS Server
1.1/16
DNS Client
DNS Server
Internet
2.1.1.1/16
1.1.1.1/16
S5600
2.1.1.2/16
host1
3.1.1.1/16
DNS Client
DNS Server
Internet
2.1.1.1/16
1.1.1.1/16
Figure 1-2
Network diagram for dynamic domain name resolution
III. Configuration procedure
Note:
Before doing the following configuration, make sure the route between S5600 and host
1 is reachable. The IP address of each interface is shown on Figure 1-2. Make sure the
DNS Server works well and has a mapping between host 1 and IP address 3.1.1.1/16.
# Enable dynamic domain name resolution.
<Quidway> system-view
[Quidway] dns resolve
# Configure IP address 2.1.1.2 to the DNS Server
[Quidway] dns server 2.1.1.2
# Configure net as the DNS suffix
[Quidway] dns domain net
# Configure com as the DNS suffix
[Quidway] dns domain com
Ping host 1 to verify the configuration and the corresponding IP address should be
3.1.1.1.
1.4 Displaying and Maintaining DNS
After the above configuration, you can execute the
display
command in any view to
view the DNS configuration information to verify the configuration effect. And you can