diff --git a/make/target-tools.mk b/make/target-tools.mk index 2b9e29db..29857932 100644 --- a/make/target-tools.mk +++ b/make/target-tools.mk @@ -600,7 +600,7 @@ smartmontools: $(ARCHIVE)/$(SMARTMONTOOLS_SOURCE) | $(TARGET_DIR) # ----------------------------------------------------------------------------- -INADYN_VER = 2.5 +INADYN_VER = 2.6 INADYN_TMP = inadyn-$(INADYN_VER) INADYN_SOURCE = inadyn-$(INADYN_VER).tar.xz INADYN_URL = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VER) diff --git a/skel-root/general/configs/inadyn.conf b/skel-root/general/configs/inadyn.conf index 9f4d10b1..c8ad9b4e 100644 --- a/skel-root/general/configs/inadyn.conf +++ b/skel-root/general/configs/inadyn.conf @@ -1,88 +1,80 @@ -# Basic configuration file for inadyn +# /var/etc/inadyn.conf :: v2 configuration file format # -# /var/etc/inadyn.conf -period = 300 -cache-dir = /tmp/inadyn -secure-ssl = false +# 1. Select a matching DDNS provider to uncomment, this file lists a few +# common ones, including a custom one, see inadyn(8) for the full list +# +# 2. Edit the following options: +# - your username at the DDNS provider +# - your password at the DDNS provider +# - the DNS hostname(s) you want to update +# +# 3. Ensure to set 600 permissions on this file! + +# How often the IP is checked. The value denotes seconds +period = 300 -# Dyn.com -provider default@dyndns.org { - ssl = true - username = account1 - password = secret1 - hostname = { "my.example.com", "other.example.org" } -} +# Custom HTTP user agent, some DDNS providers require this. +# Default is inadyn/VERSION, you rarely need this. +#user-agent = Mozilla/4.1 -# No-IP.com #1 -provider default@no-ip.com:1 { - username = account21 - password = secret21 - hostname = example.no-ip.com -} +# Set interface to check for IP, default is to ask an external +# checkip server -- you rarely need this. +#iface = eth1 -# No-IP.com #2 -provider default@no-ip.com:2 { - username = account22 - password = secret22 - hostname = another.no-ip.com -} +# If the HTTPS certificate validation fails for a provider +# inadyn aborts the DDNS update before sending any credentials. +# When this setting is disabled, i.e. false, then inadyn will +# only issue a warning. +secure-ssl = false -# Loopia -provider default@loopia.com { - ssl = true - wildcard = true - username = account3 - password = secret3 - hostname = example.com -} +# The system’s trusted CA certificates +ca-trust-file = /etc/ssl/certs/ca-certificates.crt -# ddnss.de -provider default@ddnss.de { - ssl = true - username = your_username - password = your_password - hostname = your_host.ddnss.de -} +### FreeDNS -- https://freedns.afraid.org +#provider freedns.afraid.org { +# username = +# password = +# hostname = +#} -# spdyn.de -provider default@spdyn.de { - ssl = true - username = your_username - password = your_password - hostname = your_host.spdyn.de -} +### Loopia -- https://www.loopia.com +#provider loopia { +# username = +# password = +## wildcard = true +# hostname = { , , ... } +#} -# www.strato.com -provider default@strato.com { - ssl = true - username = your_username - password = your_password - hostname = example.com -} +### DYN.com -- http://www.dyn.com +#provider Dyn { +# username = +# password = +# hostname = +#} -# dynv6.com -provider default@dynv6.com { - username = your_token - password = not_used - hostname = your_host.dynv6.net -} +### FreeMyIP -- https://freemyip.com +#provider freemyip.com { +# password = +# hostname = .freemyip.com +#} -# IPv6 account at https://tunnelbroker.net -provider default@tunnelbroker.net { - ssl = true - username = xyzzy - password = update-key-in-advanced-tab - hostname = tunnel-id -} +### Custom provider setup for http://twoDNS.de +#custom twoDNS { +# username = +# password = +# checkip-server = checkip.two-dns.de +# checkip-path = / +# checkip-ssl = false +# ddns-server = update.twodns.de +# ddns-path = "/update?hostname=%h" +# ssl = true +# hostname = .dd-dns.de +#} -# Generic example for twoDNS.de -custom twoDNS.de { - ssl = true - username = account4 - password = secret4 - checkip-server = checkip.two-dns.de - checkip-path = / - ddns-server = update.twodns.de - ddns-path = "/update?hostname=" - hostname = example.dd-dns.de -} +### DDNSS.de -- https://ddnss.de +#provider ddnss.de { +# ssl = true +# username = +# password = +# hostname = .ddnss.de +#} diff --git a/skel-root/general/scripts/inadyn.init b/skel-root/general/scripts/inadyn.init index b71800c2..2a844b0d 100644 --- a/skel-root/general/scripts/inadyn.init +++ b/skel-root/general/scripts/inadyn.init @@ -5,7 +5,7 @@ case $1 in start) if [ -e /var/etc/.inadyn ]; then - /sbin/inadyn + /sbin/inadyn --cache-dir=/tmp/.inadyn fi ;; stop)