Browse Source

nixos-module/container/dns: allow underscores in dynamic hostnames

master
Astro 1 month ago
parent
commit
8bc0ce6e15
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      nix/nixos-module/container/dns.nix

+ 5
- 0
nix/nixos-module/container/dns.nix View File

@@ -324,6 +324,11 @@ in
324 324
             algorithm hmac-sha256;
325 325
             secret "${inputs.zentralwerk-network-key.lib.dyndnsKey}";
326 326
           };
327
+
328
+          # allow underscores in dynamic hostnames
329
+          ${lib.concatMapStringsSep "\n" (type: ''
330
+            check-names ${type} ignore;
331
+          '') [ "master" "slave" "response" ]}
327 332
         '';
328 333
       });
329 334
 

Loading…
Cancel
Save