Implemented proper zone sync
https://blog.technitium.com/2024/10/how-to-configure-catalog-zones-for.html
This commit is contained in:
parent
5535fecea3
commit
6e0f5bb249
2 changed files with 1 additions and 48 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue