
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
dns resolve
Dynamic domain name resolution is enabled.
Step 3
Run:
dns server
ip-address
A DNS server is specified.
Step 4
(Optional) Run:
dns server source-ip
source-ip-address
The IP address of the local device is specified.
The local device uses the specified IP address to communicate with the DNS server, which
ensures communication security.
Step 5
Run:
dns domain
domain-name
The suffix of the domain name is added.
----End
Follow-up Procedure
The system supports the configuration of a maximum of 6 domain name servers, 1 source
address, and 10 domain name suffixes.
To configure more than one domain name server, repeat Step 3.
To configure more than one domain name suffix, repeat Step 5.
4.3.4 Checking the Configuration
You can view the configuration of the DNS.
Prerequisite
The configurations of the DNS function are complete.
Procedure
l
Run the
display ip host
command to check the information about the static DNS entry
table.
l
Run the
display dns server
command to check the configurations about DNS servers.
l
Run the
display dns domain
command to check the configurations about domain name
suffixes.
Quidway S2700 Series Ethernet Switches
Configuration Guide - IP Service
4 DNS Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
49