Dns Configuration Example - Huawei Quidway S3900 Series Operation Manual

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

Advertisement

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

1.3.2 DNS Configuration Example

I. Network requirements
As shown in Figure 1-2, a router 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
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 the router and
host 1 is reachable, and configurations are done on both devices. 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.
2.1.1.1/16
2.1.1.1/16
DNS Client
DNS Client
Huawei Technologies Proprietary
1.1.1.1/16
1.1.1.1/16
Internet
Internet
1-4
Chapter 1 DNS Configuration
3.1.1.1/16
3.1.1.1/16
host1
host1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents