R211x-HP Flexfabric 11900 Layer 3 - IP Services Command Reference
123
DDNS commands
The term "interface" in this chapter collectively refers to Layer 3 interfaces, including VLAN interfaces
and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port
link-mode route command (see Layer 2—LAN Switching Configuration Guide).
ddns apply policy
Use ddns apply policy to apply the specified DDNS policy to the interface, update the mapping between
the specified FQDN and the primary IP address of the interface, and enable DDNS update.
Use undo ddns apply policy to remove the DDNS policy applied to the interface and stop DDNS update.
Syntax
ddns apply policy policy-name [ fqdn domain-name ]
undo ddns apply policy policy-name
Default
No DDNS policy and FQDN for update are specified on the interface, and DDNS update is disabled.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
policy-name: Specifies the DDNS policy name, a case-insensitive string of 1 to 32 characters.
fqdn domain-name: Specifies the FQDN to replace <h> in the URL for DDNS update. The domain-name
argument specifies a case-insensitive string of 1 to 253 characters. It can include letters, digits, hyphens
(-), underscores (_), and dots (.).
Usage guidelines
You can apply up to four DDNS policies to an interface.
If you use the ddns apply policy command multiple times with the same DDNS policy name but different
FQDNs, the most recent configuration takes effect, and the device initiates a DDNS update request
immediately.
Examples
# Apply the DDNS policy steven_policy to VLAN-interface 2 to update the domain name to IP address
mapping for FQDN www.whatever.com and enable DDNS update.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] ddns apply policy steven_policy fqdn www.whatever.com










