R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

106
Figure 47 Network diagram
Configuration procedure
Before configuring DDNS on Router, do the following:
Register with username steven and password nevets at http://www.3322.org (www.pubyun.com).
Add Router's host name-to-IP address mapping to the DNS server.
Make sure the devices can reach 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 plaintext password
nevets.
[Router-ddns-policy-3322.org] url http://
members.3322.org/dyndns/update?system=dyndns&hostname=<h>&myip=<a>
[Router-ddns-policy-3322.org] username steven
[Router-ddns-policy-3322.org] password simple nevets
# 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
# 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 GigabitEthernet 2/1/1 to enable DDNS update and dynamically
update the mapping between domain name whatever.3322.org and the primary IP address of
GigabitEthernet 2/1/1.
[Router] interface gigabitethernet 2/1/1
[Router-GigabitEthernet2/1/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 (www.pubyun.com),
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
GE2/1/1
1.1.1.1