mirror of
https://github.com/openwrt/packages.git
synced 2026-01-09 19:31:21 +00:00
* remove CHANGELOG from distribution
* fix syslog output printing "\n" or other formating chars
* ddns configuration
- new UCI-config value ddns.global.allow_local_ip "0" or "1"
(default "0") - (OpenWrt Ticket 18642)
* dynamic_dns_functions.sh
- new function split_FQDN() splits a given FQDN into host,
(registerable) domainname, and TLD using
https://publicsuffix.org/list/effective_tld_names.dat
- verify_host_port() use BIND host, if installed
- verify_host_port() not detecting ip, if already given
- fixed regexp for IP detection from nslookup's answer - (OpenWrt
Ticket 16363)
- support ddns.global.allow_local_ip to allow sending non public IP's
to DDNS provider like 127.x, 192.168.x.x or fxxx - (OpenWrt Ticket
18642)
* new file tld_names.dat
- used by dynamic_dns_functions.sh inside split_FQDN() function to
find valid TLD's
* update_cloudflare.sh
- modified subdomain/domain splitting using split_FQDN()
- modified support for AA12.09 (json_get_keys())
- minor fixes and cleanup
- many thanks to Aaron Tanner for testing
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
32 lines
834 B
Plaintext
32 lines
834 B
Plaintext
#
|
|
# 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"
|
|
option allow_local_ip "0"
|
|
|
|
|
|
config service "myddns_ipv4"
|
|
option service_name "example.org"
|
|
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 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"
|
|
|