mirror of
https://codeberg.org/shm0rt/ddns-pdns-updater.git
synced 2025-07-30 13:58:06 +02:00
init
This commit is contained in:
parent
fda7113382
commit
768bcb7817
4 changed files with 212 additions and 20 deletions
54
new-structure.md
Normal file
54
new-structure.md
Normal file
|
@ -0,0 +1,54 @@
|
|||
# Pdns-ddns
|
||||
## check dependencies:
|
||||
- cron
|
||||
- curl
|
||||
- wget
|
||||
- pdnsutil
|
||||
(- pdnscontrol)
|
||||
- sh
|
||||
- dig
|
||||
- syslog
|
||||
(-v --version)
|
||||
|
||||
## check for access dir and access files and create if not created (populate)
|
||||
config
|
||||
init_function
|
||||
|
||||
## parameter
|
||||
--help|-h
|
||||
--config-file
|
||||
--verbose|-v
|
||||
--force|-f
|
||||
|
||||
|
||||
## logging functions
|
||||
info, error, warnings
|
||||
|
||||
## ip change detection
|
||||
check_infomaniak_ip
|
||||
providers: cloudflare, quad9, google, amazon, opendns, akamai
|
||||
check_for_ip_change
|
||||
check_infomaniak_zone
|
||||
check_pdns_zones
|
||||
|
||||
## update ip
|
||||
update_infomaniak_ip
|
||||
### update infomaniak zone
|
||||
update_infomaniak_zone
|
||||
### update powerdns zones
|
||||
update_pdns_zones
|
||||
|
||||
main
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/usr/local/bin/update-ddns # Script
|
||||
/etc/update-ddns.conf # Config
|
||||
/var/lib/update-ddns/ip.history # State + History
|
||||
#### syslog für events
|
Loading…
Add table
Add a link
Reference in a new issue