Binding a DDNS Policy to an Interface
Context
You can bind a DDNS policy to an interface to update the mapping between the specified domain name and an IP address and to start DDNS updates.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ddns apply policy policy-name [ fqdn domain-name ]
A DDNS policy is bound to the interface.
By default, no DDNS policy is bound to an interface.
A maximum of six DDNS policies can be bound to an interface.
When the DDNS server is www.3322.org, www.dyndns.org, or a common DDNS server using HTTP, you need to configure a fully qualified domain name (FQDN), that is, fqdn is mandatory.
When the DDNS update mode defined in RFC 2136 is used, that is, method ddns [ both ] is configured, fqdn must be configured.
- When the device functions as a DDNS client, and multiple service interfaces are connected to the Internet using bandwidths of different carriers, DDNS policies cannot be bound to multiple uplink service interfaces.
- Currently, the device supports to communicate with the following DDNS service providers: www.3322.org, checkip.dyndns.org, dynamic.zoneedit.com, ip1.dynupdate.no-ip.com and zoneedit.com no-ip.com.
- (Optional) Run ddns source-interface interface-type interface-number
The source interface that sends DDNS update requests is configured on the DDNS client, and the IP address of this interface is used as the source IP address of DDNS update requests.
By default, no source interface that sends DDNS update requests is configured on a DDNS client, and the IP address of the interface to which a DDNS policy is applied is used as the source IP address of DDNS update requests.
If the source interface specified in the ddns source-interface command is Down, the command configuration does not take effect.