130
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Set the DSCP value for
outgoing DDNS packets.
ddns dscp
dscp-value
By default, the DSCP value for
outgoing DDNS packets is 0.
Displaying DDNS
Execute display commands in any view.
Task Command
Display DDNS policy information.
display ddns policy
[ policy-name ]
DDNS configuration examples
DDNS configuration example with www.3322.org
Network requirements
As shown in Figure 55, the router is a Web server with the domain name whatever.3322.org and
uses an IP address dynamically obtained through DHCP. To make sure the router can always
provide Web services at whatever.3322.org when its IP address changes, perform the following
tasks on the router:
• Configure a DDNS policy to update the router's domain name-to-IP address mapping on the
DDNS server. The DDNS server then updates the mapping on the DNS server.
• Specify the IP address of the DNS server so that the router can access the DDNS server
through domain name.
Figure 55 Network diagram
Configuration procedure
Before configuring DDNS on Router, perform the following tasks:
• Register with username steven and password nevets at http://www.3322.org/.
• Configure a DDNS policy to update the mapping between the router's FQDN and IP address.
Router
DDNS client
www.3322.org
DDNS server
DNS server
IP network
GE1/0/1
1.1.1.1