From 57ca79dc02e906dbf66f5750f888eab83b624be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 18 Apr 2024 19:49:21 +0200 Subject: [PATCH] Set ddns-replace-client-name --- nix/nixos-module/container/dhcp-server.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/nixos-module/container/dhcp-server.nix b/nix/nixos-module/container/dhcp-server.nix index 8d40ddf..6360356 100644 --- a/nix/nixos-module/container/dhcp-server.nix +++ b/nix/nixos-module/container/dhcp-server.nix @@ -29,6 +29,7 @@ in # TODO: use with kea >= 2.5.0 # ddns-conflict-resolution-mode = "check-exists-with-dhcid"; ddns-use-conflict-resolution = false; + ddns-replace-client-name = "when-not-present"; expired-leases-processing.hold-reclaimed-time = builtins.foldl' lib.max 3600 (concatMapDhcpNets (net: { dhcp, ... }: dhcp.max-time));