V2_DDNS_CONFIG

Description

Get or Set DDNS (Dynamic Domain Name Server) configurations.

If the CHANNEL=n was set with this URL to the Multi-Channel device, this URL is read-only command and Router's DDNS configurations will be returned.

Input Argument

type,hostname,service,name,password,addr,port
Input Argument Description
type
Value Description
1
Disable DDNS service
The rest of input arguments might be not appended. If they are appended in this URL, the error return message will be shown if there is something wrong in these input arguments
2
Enable DDNS service
The rest of input arguments have to be appended. The error return message will be shown if there is something wrong in these input arguments.
hostname
The host name to register to DDNS server. The maximum length is 127. If the type is 2, the empty string is not allowed.
service
Name of DDNS service server. It could be
dyndns, qdns, ezip, pgpow, dhs, ods, tzo, easydns, justlinux, dyns, hn or zoneedit
name
User Name to logon DDNS service server (< 32 bytes)
password
User Password to logon DDNS service server (< 32 bytes)
addr
DDNS Server addresses (< 32 bytes)
port
DDNS Server TCP Port number (1~65535)

Attribute

Return of Message

V2_DDNS_CONFIG='1,,dyndns,,members.dyndns.org,80'
OK: V2_DDNS_CONFIG='1' (when device received V2_DDNS_CONFIG=1 command)
or
OK: V2_DDNS_CONFIG='2,camera1.com,dyndns,root,123,192.168.0.100,80'
or
ERROR: V2_DNS_CONFIG='1,,dyndns,,members.dyndns.org,80'

Applicability

Status

This URL is the new command for replacing the DDNS_CONFIG

See Also

DDNS, DDNS_TYPE, DDNS_HOSTNAME, DDNS_SERVICE, DDNS_USERNAME, DDNS_PASSWORD, DDNS_CONFIG, WAN_STATUS, V2_WAN_STATUS

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&V2_DDNS_CONFIG
or
http://ip:port/cgi-bin/cmd/system?V2_DDNS_CONFIG
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&V2_DDNS_CONFIG=1
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&V2_DDNS_CONFIG=2,cam.com,dyndns,root,123,192.168.0.100,80
or
http://ip:port/cgi-bin/cmd/system?V2_DDNS_CONFIG=1,,dyndns,,,,
http://ip:port/cgi-bin/cmd/system?V2_DDNS_CONFIG=2,cam.com,dyndns,root,123,192.168.0.1.100,80

Back to

HOME, SYSTEM CGI