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

This commit is contained in:
Astro 2021-05-06 15:46:16 +02:00
джерело 3e2d8ef2fc
коміт 8bc0ce6e15
1 змінених файлів з 5 додано та 0 видалено

@ -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" ]}
'';
});