Dns Configuration Example; Displaying And Maintaining Dns - Huawei Quidway S5600 Series Operation Manual

Hide thumbs Also See for Quidway S5600 Series:
Table of Contents

Advertisement

Operation Manual - DNS
Quidway S5600 Series Ethernet Switches-Release 1510

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
2.1.1.2/16
2.1.1.2/16
2.1.1.2/16
2.1.1.2/16
2.1.1.2/16
2.1.1.2/16
2.1.1.2/16
2.1.1.2/16
DNS Server
DNS Server
DNS Server
DNS Server
DNS Server
DNS Server
DNS Server
DNS Server
DNS Server
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
S5600
S5600
S5600
2.1.1.1/16
2.1.1.1/16
2.1.1.1/16
2.1.1.1/16
2.1.1.1/16
2.1.1.1/16
2.1.1.1/16
2.1.1.1/16
DNS Client
DNS Client
DNS Client
DNS Client
DNS Client
DNS Client
DNS Client
DNS Client
DNS Client
Huawei Technologies Proprietary
1.1.1.1/16
1.1.1.1/16
1.1.1.1/16
1.1.1.1/16
1.1.1.1/16
1.1.1.1/16
1.1.1.1/16
1.1.1.1/16
Internet
Internet
Internet
Internet
Internet
Internet
Internet
Internet
1-4
Chapter 1 DNS Configuration
3.1.1.1/16
3.1.1.1/16
3.1.1.1/16
3.1.1.1/16
3.1.
3.1.1.1/16
3.1.1.1/16
3.1.1.1/16
3.1.1.1/16
1.1/16
host1
host1
host1
host1
host1
host1
host1
host1
host1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents