nixos-module/container/dhcp-server: disable dyndns conflict resolution for dual stack operation

This commit is contained in:
Astro 2023-10-28 00:45:24 +02:00
parent 07963d1b61
commit 6ac42aa334
1 changed files with 6 additions and 0 deletions

View File

@ -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