[RouterA-ospf-1-area-0.0.0.0] network 1.1.0.0 0.0.255.255
[RouterA-ospf-1-area-0.0.0.0] quit
[RouterA-ospf-1] quit
NOTE
To implement communication between the DDNS client, DDNS server, and the DNS server, configure
OSPF on RouterB and RouterC. For details about OSPF configurations on RouterB and RouterC, see the
configuration files.
Step 2 Verify the configuration.
# Run the display ddns policy mypolicy command on RouterA, and you can view information
about the DDNS policy named mypolicy.
<RouterA> display ddns policy mypolicy
Policy name : mypolicy
Policy interval time : 3600
Policy URL : oray://steven:nevets@phddnsdev.oray.net
Policy bind count : 1
===== interface Ethernet1/0/0 ======
Statuses:
ESTABLISH
Refresh: enable
# Run the display ddns interface ethernet 1/0/0 command on RouterA, and you can view
information about the DDNS policy on Eth1/0/0.
<RouterA> display ddns interface ethernet 1/0/0
===== Policy mypolicy =======
URL: oray://steven:nevets@phddnsdev.oray.net
Statuses:
ESTABLISH
Refresh: enable
----End
Configuration Files
Configuration file of RouterA
#
sysname RouterA
#
ddns policy mypolicy
url oray://steven:nevets@phddnsdev.oray.net
#
interface Ethernet1/0/0
ip address 1.1.1.2 255.255.0.0
ddns apply policy mypolicy fqdn www.abc.com
#
ospf 1
area 0.0.0.0
network 1.1.0.0 0.0.255.255
#
return
Configuration file of RouterB
#
sysname RouterB
#
interface LoopBack0
ip address 4.1.1.1 255.255.255.255
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.
102