The source IP address is specified for the local routing device to communicate with the DNS
client.
The local routing device uses the specified address to communicate with the DNS server. This
ensures communication security.
Step 5 (Optional) Run:
dns domain domain-name
A domain name suffix is configured.
----End
Follow-up Procedure
The system supports a maximum of six DNS servers, one specified source address, and 10
domain name suffixes. If multiple DNS servers are required, repeat step 3. If multiple domain
name suffixes are required, repeat step 5.
4.3.4 Checking the Configuration
After completing the DNS client configuration, you can view the configuration.
Procedure
l Run the display ip host command to check static DNS entries.
l Run the display dns server command to check the DNS server configuration.
l Run the display dns domain command to check the domain name suffix configuration.
l Run the display dns dynamic-host command to check dynamic DNS entries.
----End
Example
# Run the display ip host command to view static DNS entries.
<Huawei> display ip host
Host Age Flags Address
www.3322.org 0 static 10.138.90.34
members.3322.org 0 static 10.138.90.51
checkip.dyndns.com 0 static 10.138.90.51
members.dyndns.org 0 static 10.138.90.51
# Run the display dns server command to view the DNS server configuration.
<Huawei> display dns server
Type:
D:Dynamic S:Static
DNS Server Type IP Address
1 S 10.10.1.1
2 S 10.10.1.2
# Run the display dns domain command to view the domain name suffix configuration.
<Huawei> display dns domain
No Domain-name
1 com
2 net
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 4 DNS Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
86