bind9_add_record.py: DNS-Record in BIND9-Master-Zone anlegen

Ermittelt Zonendatei aus named.conf, fügt Record hinzu, erhöht SOA-Serial,
validiert mit named-checkzone und lädt per rndc reload neu. Läuft als root.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 17:21:44 +02:00
commit 22995b68f4
2 changed files with 186 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Python-Cache
__pycache__/
*.pyc
# Zonendatei-Sicherungen, die das Skript ggf. anlegt
*.bak