Step
1.
Enter system view.
2.
Set the DSCP value for
outgoing DDNS packets.
Displaying DDNS
Execute display commands in any view.
Task
Display information about the DDNS policy.
DDNS configuration examples
DDNS configuration example with www.3322.org
Network requirements
As shown in
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
GE2/0/1
Router
DDNS client
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.
Command
system-view
ddns dscp dscp-value
Figure
56, the router is a Web server with the domain name whatever.3322.org.
IP network
1.1.1.1
Command
display ddns policy [ policy-name ]
www.3322.org
DDNS server
DNS server
120
Remarks
N/A
By default, the DSCP value for
outgoing DDNS packets is 0.