120
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 information about the DDNS policy.
display ddns policy
[ policy-name ]
DDNS configuration examples
DDNS configuration example with www.3322.org
Network requirements
As shown in Figure 56, the router is a Web server with the domain name whatever.3322.org.
The router acquires the IP address through DHCP. Through DDNS service provided by
www.3322.org, the router informs the DNS server of the latest mapping between its domain name
and IP address. The router uses the DNS server to translate www.3322.org into its IP address.
Figure 56 Network diagram
Configuration procedure
Before configuring DDNS on the router, perform the following tasks:
• Register with username steven and password nevets at http://www.3322.org/.
• Create the dynamic domain name whatever.3322.org at http://www.3322.org/.
• Add the 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
DDNS client
www.3322.org
DDNS server
DNS server
IP network
GE2/0/1
1.1.1.1