mirror of
https://github.com/outbackdingo/openwrt-builder.git
synced 2026-01-27 18:19:53 +00:00
41 lines
1018 B
Plaintext
41 lines
1018 B
Plaintext
|
|
#
|
|
# Please read https://openwrt.org/docs/guide-user/base-system/ddns
|
|
#
|
|
config ddns "global"
|
|
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"
|
|
option use_curl '1'
|
|
|
|
config service 'DOMAIN'
|
|
option service_name 'duckdns.org'
|
|
option lookup_host 'DOMAIN.duckdns.org'
|
|
option enabled '1'
|
|
option use_ipv6 '0'
|
|
option domain 'DOMAIN.duckdns.org'
|
|
option username 'MYUSER@GITHUB.COM'
|
|
option password 'MYTOKEN'
|
|
option ip_source 'network'
|
|
option ip_network 'wan'
|
|
option interface 'wan'
|
|
option use_syslog '2'
|
|
option check_unit 'minutes'
|
|
option force_unit 'minutes'
|
|
option retry_unit 'seconds'
|
|
|
|
config service 'DOMAIN_ipv6'
|
|
option service_name 'duckdns.org'
|
|
option use_ipv6 '1'
|
|
option enabled '1'
|
|
option lookup_host 'DOMAIN.duckdns.org'
|
|
option domain 'DOMAIN'
|
|
option username 'MYUSER@GITHUB.COM'
|
|
option password 'MYTOKEN'
|
|
option interface 'wan6'
|
|
option ip_source 'network'
|
|
option ip_network 'wan6'
|
|
|