2014-06-08 12:03:31 +00:00
|
|
|
#
|
2015-11-04 20:28:28 +00:00
|
|
|
# Please read 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"
|
2016-12-05 19:40:09 +00:00
|
|
|
option ddns_dateformat "%F %R"
|
|
|
|
# option ddns_rundir "/var/run/ddns"
|
|
|
|
# option ddns_logdir "/var/log/ddns"
|
|
|
|
option ddns_loglines "250"
|
|
|
|
option upd_privateip "0"
|
2014-06-08 12:03:31 +00:00
|
|
|
|
|
|
|
|
2014-09-22 05:59:19 +00:00
|
|
|
config service "myddns_ipv4"
|
2016-01-24 19:04:26 +00:00
|
|
|
option service_name "dyndns.org"
|
2015-11-04 20:28:28 +00:00
|
|
|
option lookup_host "yourhost.example.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-11-04 20:28:28 +00:00
|
|
|
option lookup_host "yourhost.example.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 use_ipv6 "1"
|
|
|
|
option interface "wan6"
|
|
|
|
option ip_source "network"
|
|
|
|
option ip_network "wan6"
|
2014-11-15 20:28:01 +00:00
|
|
|
|