R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
154
DDNS configuration commands
ddns apply policy
Syntax
ddns apply policy policy-name [ fqdn domain-name ]
undo ddns apply policy policy-name
View
Interface view
Default 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.
Description
Use the ddns apply policy command 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 the undo ddns apply policy command to remove the DDNS policy applied to the interface and stop
DDNS update.
By 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.
NOTE:
You can apply at most four DDNS policies to an interface.
If you repeatedly execute the ddns apply policy command with the same DDNS policy name but
different FQDNs specified, the latest configuration will overwrite the previous one, and initiates a DDNS
update request immediately.
Examples
# Apply the DDNS policy named steven_policy to GigabitEthernet0/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
Syntax
ddns policy policy-name