The method command sets the update mode for the device functioning as a DDNS client.
The undo method command restores the default update mode for the device functioning as a DDNS client.
By default, the update mode is vendor-specific for the device functioning as the DDNS client.
Parameter |
Description |
Value |
|---|---|---|
ddns [ both ] |
Indicates that the update mode is ddns (defined by the RFC2136) for the device functioning as a DDNS client. If both is specified, both Class-A and PTR query records are updated. If both is not specified, only Class-A query records are updated
|
- |
http |
Indicates that the update mode is http for the device functioning as a DDNS client. After this parameter is specified, the DDNS client can communicate with a common DDNS server through HTTP. |
- |
vendor-specific |
Indicates that the update mode is vendor-specific for the device functioning as a DDNS client. After this parameter is specified, the DDNS client can communicate with the DDNS servers provided at www.3322.org, www.dyndns.org, and www.oray.cn. |
- |
Security risks exist if the update mode for the device functioning as a DDNS client is set to http or vendor-specific. It is recommended that you set the update mode to ddns.
# Set the update mode of the device functioning as the DDNS client to DDNS, and update Class-A and PTR query records.
<sysname> system-view [sysname] ddns policy mypolicy [sysname-ddns-policy-mypolicy] method ddns both
# Restore the default update mode for the device functioning as the DDNS client.
<sysname> system-view [sysname] ddns policy mypolicy [sysname-ddns-policy-mypolicy] undo method