HP VPN Firewall Appliances Network Management Command Reference

219
DDNS commands
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 is specified for any interface, no mapping between the FQDN and the primary IP
address is specified for update, and DDNS update is disabled.
Views
Interface view
Default command level
2: System level
Parameters
policy-name: DDNS policy name, a case-insensitive string of 1 to 32 characters.
fqdn domain-name: Specifies the FQDN for update. The domain-name argument is a case-insensitive
string of 1 to 127 characters and is used to replace <h> in the URL for DDNS update.
Usage guidelines
You can apply at most two DDNS policies to one interface, and at most six to a host through DHCP.
If you execute the ddns apply policy command with the same DDNS policy name but different FQDNs
specified multiple times, the latest configuration overwrites the previous one, and initiates a DDNS
update request immediately.
Examples
# Apply the DDNS policy named steven_policy to GigabitEthernet 0/1 to update the domain name to
IP address mapping for FQDN www.whatever.com and enable DDNS update.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ddns apply policy steven_policy fqdn www.whatever.com
ddns policy
Use ddns policy to create a DDNS policy and enter its view.
Use undo ddns policy to delete the DDNS policy.