Bugfix: Clownfischserver HomeIP Updater – Fehlerbehandlung & Fallbacks

Fixes:
- dnsutils-Paket (dig) zu install.sh hinzugefügt
- DNS-Fallbacks: dig → nslookup → getent
- Log-File Auto-Create bei Cron-Ausführung
- Zeilenumbrüche in .env-Variable entfernen (tr -d)
- UFW delete mit 'y' Auto-Bestätigung (für Cron nicht-interaktiv)
- Root-Crontab statt sudo-Crontab (install.sh läuft als root)
- ufw status numbered für bessere Regel-Erkennung

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-05-01 23:38:23 +02:00
co-authored by Claude Haiku 4.5
parent eff7d0d98b
commit 4758ee4306
3 changed files with 34 additions and 12 deletions
+9 -1
View File
@@ -5,7 +5,15 @@
"Bash(git config *)",
"Bash(git remote *)",
"Bash(git checkout *)",
"Bash(git add *)"
"Bash(git add *)",
"Bash(git commit -m 'v0.5.0 – Clownfischserver HomeIP Auto-Update: myfritz Automatik für SSH \\(5-Min Cron\\) *)",
"Bash(git push *)",
"Bash(bash -n install.sh)",
"Bash(bash -n scripts/clownfischserver-homeip-updater.sh)",
"Bash(python3 -m py_compile bot/*.py)",
"Bash(awk '{print \"Datei: \" $1 \" Größe: \" $5 \" Bytes\"}')",
"Bash(grep -oE '\\\\b\\([0-9]{1,3}\\\\.\\){3}[0-9]{1,3}\\\\b')",
"Bash(git commit -m 'Bugfix: Clownfischserver HomeIP Updater – Fehlerbehandlung & Fallbacks *)"
]
}
}