V2_DDNS_CONFIG

 

Description

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

If the CHANNEL=n was set with this URL to the multiple channel video encoders, this URL is read-only command and Router's DDNS configurations will be returned.

Input Argument

type,hostname,service,name,password,addr,port
where
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 login DDNS service server. The maximum length is 32 including '\0'.
The rules of name setting are defined in the Valid Character in Login Name section in Valid Characters in URI document.
password User Password to login DDNS service server. The maximum length is 32 including '\0'.
The rules of password setting are defined in the Valid Character in Login Password section in Valid Characters in URI document.
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