2014-06-08 12:03:31 +00:00
|
|
|
#
|
2014-09-22 05:59:19 +00:00
|
|
|
# Please read ddns.sample
|
2014-11-09 15:37:11 +00:00
|
|
|
# or http://wiki.openwrt.org/doc/uci/ddns
|
2014-06-08 12:03:31 +00:00
|
|
|
#
|
2014-09-22 05:59:19 +00:00
|
|
|
config ddns "global"
|
|
|
|
option date_format "%F %R"
|
|
|
|
# option run_dir "/var/run/ddns"
|
|
|
|
# option log_dir "/var/log/ddns"
|
|
|
|
option log_lines "250"
|
2015-01-11 14:39:47 +00:00
|
|
|
option allow_local_ip "0"
|
2014-06-08 12:03:31 +00:00
|
|
|
|
|
|
|
|
2014-09-22 05:59:19 +00:00
|
|
|
config service "myddns_ipv4"
|
2015-04-12 08:47:38 +00:00
|
|
|
option service_name "dyndns.com"
|
2015-01-11 14:39:47 +00:00
|
|
|
option domain "yourhost.example.com"
|
2014-09-22 05:59:19 +00:00
|
|
|
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]"
|
2015-01-11 14:39:47 +00:00
|
|
|
option domain "yourhost.example.com"
|
2014-09-22 05:59:19 +00:00
|
|
|
option username "your_username"
|
|
|
|
option password "your_password"
|
|
|
|
option use_ipv6 "1"
|
|
|
|
option interface "wan6"
|
|
|
|
option ip_source "network"
|
|
|
|
option ip_network "wan6"
|
2014-11-15 20:28:01 +00:00
|
|
|
|