Document dyndns tool and add example cron job
This commit is contained in:
parent
95712e196b
commit
8048656542
|
@ -41,6 +41,7 @@ Maintenance (personal)
|
|||
|
||||
Fun
|
||||
* Add option to define ADMIN_IP_ADDRESS (currently only used to ignore fail2ban jails)
|
||||
* Add dynamic dns tools in the tools directory.
|
||||
|
||||
Original mailinabox content starts here:
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
cd /opt/dyndns && ./dyndns.sh >> /var/log/dyndns.log 2>/dev/null
|
|
@ -0,0 +1,18 @@
|
|||
Files:
|
||||
- dyndns.sh
|
||||
Dynamic DNS main script. There should be no need to edit it.
|
||||
- dyndns.domain
|
||||
Fill with the top level domain of your MIAB box.
|
||||
- dyndns.dynlist
|
||||
Fill with subdomains for which the dynamic dns IP should be updated. One per line.
|
||||
- dyndns.totp
|
||||
Fill with TOTP key. Can be found in the MIAB sqlite database
|
||||
- dyndns.cfg
|
||||
Fill with admin user and password
|
||||
- cronjob.sh
|
||||
cronjob file. Edit where needed
|
||||
|
||||
How to use:
|
||||
- Put dyndns.sh, dyndns.domain, dyndns.dynlist, dyndns.totp and dyndns.cfg in a folder on your target system. E.g. /opt/dyndns
|
||||
- Put the cronjob.sh in a cron folder. E.g. /etc/cron.daily
|
||||
- Edit the files appropriately
|
Loading…
Reference in New Issue