R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

93
Figure 43 Network diagram
Configuration procedure
Before configuring DDNS on Router, register with username steven and password nevets at
http://www.3322.org/, add Router's host name-to-IP address mapping to the DNS server, and make
sure the devices are reachable to each other.
# Create a DDNS policy named 3322.org, and enter its view.
<Router> system-view
[Router] ddns policy 3322.org
# Specify for DDNS update requests the URL address with the login ID steven and password nevets.
[Router-ddns-policy-3322.org] url
http://steven:nevets@members.3322.org/dyndns/update?system=dyndns&hostname=<h>&myip=<
a>
# Set the interval for sending DDNS update requests to 15 minutes.
[Router-ddns-policy-3322.org] interval 0 0 15
[Router-ddns-policy-3322.org] quit
# Enable dynamic domain name resolution on Router.
[Router] dns resolve
# Specify the IP address of the DNS server as 1.1.1.1.
[Router] dns server 1.1.1.1
# Apply DDNS policy 3322.org to interface Ethernet 1/1 to enable DDNS update and dynamically
update the mapping between domain name whatever.3322.org and the primary IP address of Ethernet
1/1.
[Router] interface ethernet 1/1
[Router-Ethernet1/1] ddns apply policy 3322.org fqdn whatever.3322.org
After the preceding configuration is completed, Router notifies the DNS server of its new domain
name-to-IP address mapping through the DDNS server provided by www.3322.org, whenever the IP
address of Router changes. Therefore, Router can always provide Web service at whatever.3322.org.
Router
DDNS client
www.3322.org
DDNS server
DNS server
IP network
Eth1/1
1.1.1.1