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_SOURCE = inadyn-$(INADYN_VER).tar.xz
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
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:
# <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
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 = <username>
# password = <password>
# hostname = <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 = <username>
# password = <password>
## wildcard = true
# hostname = { <hostname1>, <hostname2>, ... }
#}
# 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 = <username>
# password = <password>
# hostname = <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 = <your_token>
# hostname = <your_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 = <username>
# password = <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 = <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 = <username>
# password = <password>
# hostname = <hostname>.ddnss.de
#}

2
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)

Loading…
Cancel
Save