summaryrefslogtreecommitdiff
path: root/hosts/surtr/tls.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/tls.nix')
-rw-r--r--hosts/surtr/tls.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/surtr/tls.nix b/hosts/surtr/tls.nix
index d087c9f5..c95ae493 100644
--- a/hosts/surtr/tls.nix
+++ b/hosts/surtr/tls.nix
@@ -20,10 +20,12 @@ let
20 20
21 case "''${mode}" in 21 case "''${mode}" in
22 present) 22 present)
23 ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT ""
23 ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}" 24 ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}"
24 ;; 25 ;;
25 cleanup) 26 cleanup)
26 ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT "''${challenge}" 27 ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT "''${challenge}"
28 ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT ""
27 ;; 29 ;;
28 *) 30 *)
29 exit 2 31 exit 2