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

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
The name of DDNS server service. 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)

Attribute

Return of Message

DDNS_CONFIG='1,,dyndns,,'
OK: DDNS_CONFIG='1' (when device received DDNS_CONFIG=1 command)
or
OK: DDNS_CONFIG='2,camera1.com,dyndns,root,123'
or
ERROR: DNS_CONFIG='1,,dyndns,,'

Applicability

Status

This URL is the new command for replacing the URL DDNS_TYPE, DDNS_HOSTNAME, DDNS_SERVICE, DDNS_USERNAME and DDNS_PASSWORD

See Also

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

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DDNS_CONFIG
or
http://ip:port/cgi-bin/cmd/system?DDNS_CONFIG
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DDNS_CONFIG=1
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DDNS_CONFIG=2,camera1.com,dyndns,root,123
or
http://ip:port/cgi-bin/cmd/system?DDNS_CONFIG=1,,dyndns,,
http://ip:port/cgi-bin/cmd/system?DDNS_CONFIG=2,camera1.com,dyndns,root,123

Back to

HOME, SYSTEM CGI