- add -V / --version parameter to show version information - new option lookup_host as host to use by nslookup/host to validate IP address changes, to be separate from [DOMAIN] parameter which produces a lot of questions in the forum and on multi-host updates - new option param_enc for optional usage inside update_url [PARAMENC] (will be send urlencoded) - new option param_opt for optional usage inside update_url [PARAMOPT] - new service strato.de (IPv4 only) requested by ludwig.jaffe@ - new service variomedia.de (IPv4 & IPv6) requested by Wolfgang Oertl #1884 - rewritten function get_service_data to read services/service_ipv6 file - allow 3rd parameter inside services/service_ipv6 file - here should be the answer of the ddns provider on success. If parameter is set, it's checked by ddns-scripts and report errors to logfile/syslog if failed and retry - updated tld_names.dat Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
32 lines
902 B
Text
32 lines
902 B
Text
#
|
|
# Please read http://wiki.openwrt.org/doc/uci/ddns
|
|
#
|
|
config ddns "global"
|
|
option date_format "%F %R"
|
|
# option run_dir "/var/run/ddns"
|
|
# option log_dir "/var/log/ddns"
|
|
option log_lines "250"
|
|
option allow_local_ip "0"
|
|
|
|
|
|
config service "myddns_ipv4"
|
|
option service_name "dyndns.com"
|
|
option lookup_host "yourhost.example.com"
|
|
option domain "yourhost.example.com"
|
|
option username "your_username"
|
|
option password "your_password"
|
|
option interface "wan"
|
|
option ip_source "network"
|
|
option ip_network "wan"
|
|
|
|
config service "myddns_ipv6"
|
|
option update_url "http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]"
|
|
option lookup_host "yourhost.example.com"
|
|
option domain "yourhost.example.com"
|
|
option username "your_username"
|
|
option password "your_password"
|
|
option use_ipv6 "1"
|
|
option interface "wan6"
|
|
option ip_source "network"
|
|
option ip_network "wan6"
|
|
|