Browse Source

- inadyn: bump version to 2.6; update conf and init-script

master
vanhofen 5 years ago
parent
commit
2a3638ec94
  1. 2
      make/target-tools.mk
  2. 146
      skel-root/general/configs/inadyn.conf
  3. 2
      skel-root/general/scripts/inadyn.init

2
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_TMP = inadyn-$(INADYN_VER)
INADYN_SOURCE = inadyn-$(INADYN_VER).tar.xz INADYN_SOURCE = inadyn-$(INADYN_VER).tar.xz
INADYN_URL = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VER) INADYN_URL = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VER)

146
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 # 1. Select a matching DDNS provider to uncomment, this file lists a few
period = 300 # common ones, including a custom one, see inadyn(8) for the full list
cache-dir = /tmp/inadyn #
secure-ssl = false # 2. Edit the following options:
# <username> - your username at the DDNS provider
# <password> - your password at the DDNS provider
# <hostname> - 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 # Custom HTTP user agent, some DDNS providers require this.
provider default@dyndns.org { # Default is inadyn/VERSION, you rarely need this.
ssl = true #user-agent = Mozilla/4.1
username = account1
password = secret1
hostname = { "my.example.com", "other.example.org" }
}
# No-IP.com #1 # Set interface to check for IP, default is to ask an external
provider default@no-ip.com:1 { # checkip server -- you rarely need this.
username = account21 #iface = eth1
password = secret21
hostname = example.no-ip.com
}
# No-IP.com #2 # If the HTTPS certificate validation fails for a provider
provider default@no-ip.com:2 { # inadyn aborts the DDNS update before sending any credentials.
username = account22 # When this setting is disabled, i.e. false, then inadyn will
password = secret22 # only issue a warning.
hostname = another.no-ip.com secure-ssl = false
}
# Loopia # The system’s trusted CA certificates
provider default@loopia.com { ca-trust-file = /etc/ssl/certs/ca-certificates.crt
ssl = true
wildcard = true
username = account3
password = secret3
hostname = example.com
}
# ddnss.de ### FreeDNS -- https://freedns.afraid.org
provider default@ddnss.de { #provider freedns.afraid.org {
ssl = true # username = <username>
username = your_username # password = <password>
password = your_password # hostname = <hostname>
hostname = your_host.ddnss.de #}
}
# spdyn.de ### Loopia -- https://www.loopia.com
provider default@spdyn.de { #provider loopia {
ssl = true # username = <username>
username = your_username # password = <password>
password = your_password ## wildcard = true
hostname = your_host.spdyn.de # hostname = { <hostname1>, <hostname2>, ... }
} #}
# www.strato.com ### DYN.com -- http://www.dyn.com
provider default@strato.com { #provider Dyn {
ssl = true # username = <username>
username = your_username # password = <password>
password = your_password # hostname = <hostname>
hostname = example.com #}
}
# dynv6.com ### FreeMyIP -- https://freemyip.com
provider default@dynv6.com { #provider freemyip.com {
username = your_token # password = <your_token>
password = not_used # hostname = <your_hostname>.freemyip.com
hostname = your_host.dynv6.net #}
}
# IPv6 account at https://tunnelbroker.net ### Custom provider setup for http://twoDNS.de
provider default@tunnelbroker.net { #custom twoDNS {
ssl = true # username = <username>
username = xyzzy # password = <password>
password = update-key-in-advanced-tab # checkip-server = checkip.two-dns.de
hostname = tunnel-id # checkip-path = /
} # checkip-ssl = false
# ddns-server = update.twodns.de
# ddns-path = "/update?hostname=%h"
# ssl = true
# hostname = <hostname>.dd-dns.de
#}
# Generic example for twoDNS.de ### DDNSS.de -- https://ddnss.de
custom twoDNS.de { #provider ddnss.de {
ssl = true # ssl = true
username = account4 # username = <username>
password = secret4 # password = <password>
checkip-server = checkip.two-dns.de # hostname = <hostname>.ddnss.de
checkip-path = / #}
ddns-server = update.twodns.de
ddns-path = "/update?hostname="
hostname = example.dd-dns.de
}

2
skel-root/general/scripts/inadyn.init

@ -5,7 +5,7 @@
case $1 in case $1 in
start) start)
if [ -e /var/etc/.inadyn ]; then if [ -e /var/etc/.inadyn ]; then
/sbin/inadyn /sbin/inadyn --cache-dir=/tmp/.inadyn
fi fi
;; ;;
stop) stop)

Loading…
Cancel
Save