Step
1.
Enter system view.
2.
Set the DSCP value for
outgoing DDNS packets.
Displaying DDNS
Execute display commands in any view.
Task
Display DDNS policy information.
DDNS configuration examples
DDNS configuration example with www.3322.org
Network requirements
As shown in
an IP address dynamically obtained through DHCP. To make sure the switch can always provide
Web services at whatever.3322.org when its IP address changes, perform the following tasks on the
switch:
•
Configure a DDNS policy to update the switch'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 switch can access the DDNS server
through domain name.
Figure 50 Network diagram
Vlan-int2
Switch
DDNS client
Configuration procedure
Before configuring DDNS on the switch, 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 switch's FQDN and IP address.
Command
system-view
•
Figure
50, the switch is a Web server with domain name whatever.3322.org and uses
IP network
1.1.1.1
ddns dscp dscp-value
Command
display ddns policy [ policy-name ]
www.3322.org
DDNS server
DNS server
126
Remarks
N/A
By default, the DSCP value for
outgoing DDNS packets is 0.