Implemented proper zone sync

https://blog.technitium.com/2024/10/how-to-configure-catalog-zones-for.html
This commit is contained in:
pazpi 2025-08-17 17:38:03 +02:00
parent 5535fecea3
commit 6e0f5bb249
2 changed files with 1 additions and 48 deletions

View file

@ -6,10 +6,7 @@
}:
{
age.secrets = {
dns02-admin-password.file = ../../secrets/dns02-admin-password.age;
dns02-dhcp-failover.file = ../../secrets/dns02-dhcp-failover.age;
};
age.secrets.dns02-admin-password.file = ../../secrets/dns02-admin-password.age;
my = {
@ -28,19 +25,5 @@
virtualisation.proxmox.enable = true;
};
# systemd.services.dhcp-failover = {
# description = "Set the current server as the primary DHCP server if the other one is down";
# wantedBy = [ "multi-user.target" ];
# path = [ pkgs.curl ];
# serviceConfig = {
# EnvironmentFile = config.age.secrets.dns02-dhcp-failover.path;
# ExecStart = "${pkgs.writeShellScript "dhcp-failover.sh" (builtins.readFile ./dhcp-failover.sh)}";
# Restart = "on-failure";
# DynamicUser = true;
# StandardOutput = "journal";
# StandardError = "journal";
# };
# };
system.stateVersion = "24.11";
}