The ddns apply policy command allows you to apply DDNS policies on interfaces.
The undo ddns apply policy command deletes the configuration.
By default, no DDNS policy is bound to an interface.
| Parameter | Description | Value |
|---|---|---|
policy-name |
Specifies a DDNS policy name. |
The value must be the name of an existing DDNS policy. |
fqdn domain-name |
Specifies domain name updated by the DDNS. |
The value is a string of 1 to 128 case-sensitive characters without spaces. |
Usage Scenario
DNS provides static mappings between domain names and IP addresses. When IP addresses of interfaces change, DNS cannot dynamically update mappings. After the specified DDNS policy is applied on an interface, if the IP address of the interface changes, the DDNS policy updates mapping between the specified Fully Qualified Domain Name (FQDN) and the IP address.
If a DDNS policy with the same name is bound to an interface repeatedly and different FQDNs are specified, only the latest configuration takes effect and a DDNS update is initiated.
Prerequisites
To apply the policy on an interface, you need to create the DDNS policy first, also the DDNS policy, including DDNS Server domain-name, DDNS Client domain-name, username and password, must be completely configured.