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

Cette révision appartient à :
Astro 2021-05-06 15:46:16 +02:00
Parent 3e2d8ef2fc
révision 8bc0ce6e15
1 fichiers modifiés avec 5 ajouts et 0 suppressions

Voir le fichier

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