#
|
|
# Please read ddns.sample
|
|
# or 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"
|
|
|
|
|
|
config service "myddns_ipv4"
|
|
option service_name "example.org"
|
|
option domain "yourhost.example.org"
|
|
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 domain "yourhost.dyndns.org"
|
|
option username "your_username"
|
|
option password "your_password"
|
|
option use_ipv6 "1"
|
|
option interface "wan6"
|
|
option ip_source "network"
|
|
option ip_network "wan6"
|
|
|