From 6ac42aa33413c7f4b7ac01a9ca5cb30153630d6b Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 28 Oct 2023 00:45:24 +0200 Subject: [PATCH] nixos-module/container/dhcp-server: disable dyndns conflict resolution for dual stack operation --- nix/nixos-module/container/dhcp-server.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix/nixos-module/container/dhcp-server.nix b/nix/nixos-module/container/dhcp-server.nix index 301b284..ecf4682 100644 --- a/nix/nixos-module/container/dhcp-server.nix +++ b/nix/nixos-module/container/dhcp-server.nix @@ -26,6 +26,9 @@ in interfaces-config.interfaces = builtins.attrNames dhcpNets; dhcp-ddns.enable-updates = true; ddns-send-updates = true; + # TODO: use with kea >= 2.5.0 + # ddns-conflict-resolution-mode = "check-exists-with-dhcid"; + ddns-use-conflict-resolution = false; subnet4 = concatMapDhcpNets (net: { vlan, subnet4, dhcp, domainName, ... }: { id = vlan; @@ -164,6 +167,9 @@ in ddns-override-no-update = true; ddns-override-client-update = true; ddns-replace-client-name = "when-not-present"; + # TODO: use with kea >= 2.5.0 + # ddns-conflict-resolution-mode = "check-exists-with-dhcid"; + ddns-use-conflict-resolution = false; subnet6 = concatMapDhcpNets (net: { vlan, subnets6, dhcp, domainName, ... }: let