From 8bc0ce6e15dfba21ce0b593d52e381a8abc15440 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 6 May 2021 15:46:16 +0200 Subject: [PATCH] nixos-module/container/dns: allow underscores in dynamic hostnames --- nix/nixos-module/container/dns.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/nixos-module/container/dns.nix b/nix/nixos-module/container/dns.nix index b5ac1a5..cfc466f 100644 --- a/nix/nixos-module/container/dns.nix +++ b/nix/nixos-module/container/dns.nix @@ -324,6 +324,11 @@ in algorithm hmac-sha256; secret "${inputs.zentralwerk-network-key.lib.dyndnsKey}"; }; + + # allow underscores in dynamic hostnames + ${lib.concatMapStringsSep "\n" (type: '' + check-names ${type} ignore; + '') [ "master" "slave" "response" ]} ''; });