Step 3
Run:
dns forward expire-time
time
The aging time is set for DNS entries on the DNS proxy or relay.
By default, the aging time of DNS entries is 60s.
----End
4.4.5 Checking the Configuration
After configuring DNS proxy/relay, you can view the DNS table.
Procedure
l
Run the
display dns forward table
[
source-ip
ip-address
] command to check the DNS
table.
----End
Example
# Run the
display dns forward table
[
source-ip
ip-address
] command to view the DNS table
of the DNS proxy or relay.
<Huawei>
display dns forward table
Domain name : ma.huawei.com
Source IP : 1.1.1.3
Source port : 33025
Source packet id : 42564
Forward packet id : 1
Retry count : 2
Query type : 1
4.5 Configuring a DDNS Client
The AR150/200 can function as the DDNS client to dynamically obtain latest mappings between
domain names of web sites and IP addresses on the DNS server. This allows your organization
to use domain names to access web sites.
4.5.1 Establishing the Configuration Task
Before configuring a DDNS client, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the data required for the configuration. This
will help you complete the configuration task quickly and accurately.
Applicable Environment
DNS can resolve domain names into IP addresses so that you can use domain names to access
network nodes. DNS just provides static mappings between domain names and IP addresses. It
cannot dynamically update the mapping when the IP address of a node changes. If you use the
original domain name to access the node, you cannot access the node because the IP address
mapping the domain name is incorrect.
The AR150/200 can function as the DDNS client. The AR150/200 notifies the DDNS server
about the new IP address when the IP address of the interface that provides web services changes.
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.
90