Applying the DDNS policy to an interface
About DDNS policy application to an interface
After you apply the DDNS policy to an interface and specify the FQDN for update, the DDNS client can send requests to the DDNS server. The requests are to update the mapping between the domain name and the primary IP address of the interface.
Restrictions and guidelines
The fqdn domain-name option is a must for all DDNS servers except the PeanutHull DDNS server.
The fqdn domain-name option is optional for PeanutHull DDNS server. If no FQDN is specified, the DDNS server updates all domain names for the DDNS client account. If an FQDN is specified, the DDNS server updates only the mapping between the specified FQDN and the primary IP address.
Prerequisites
Before you apply a DDNS policy to an interface, complete the following tasks:
Specify the primary IP address of the interface and make sure the DDNS server and the interface can reach each other.
Configure static or dynamic domain name resolution to translate the domain name of the DDNS server into the IPv4 address. For more information, see "Configuring the DNS client."
Procedure
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
Apply the DDNS policy to the interface to update the mapping between the specified FQDN and the primary IP address of the interface, and enable DDNS update.
ddns apply policy policy-name [ fqdn domain-name ]
By default, no DDNS policy is applied to the interface, no FQDN is specified for update, and DDNS update is disabled.
An FQDN, including a host name and a domain name, is the only identifier for a network node and can be resolved as an IP address.