Switch everything to Python

This commit is contained in:
2025-08-27 23:51:18 +02:00
parent f38b2f35ff
commit f57890f6c9
15 changed files with 1470 additions and 1094 deletions

View File

@@ -2,10 +2,10 @@ zone "%ZONE%" {
type master;
file "%ZONE_FILE%";
update-policy {
grant dns-manager-key zonesub any;
grant rndc-key zonesub any;
};
allow-transfer {
key dns-manager-key;
key rndc-key;
};
};

View File

@@ -1,5 +1,5 @@
$TTL 86400 ; 1 day
@ IN SOA dns1.%ZONE%. hostmaster.%ZONE%. (
%ZONE%. IN SOA dns1.%ZONE%. hostmaster.%ZONE%. (
1 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
@@ -8,3 +8,4 @@ $TTL 86400 ; 1 day
)
NS dns1.%ZONE%.
NS dns2.%ZONE%.
$ORIGIN %ZONE%.