diff options
Diffstat (limited to 'hosts/surtr')
-rw-r--r-- | hosts/surtr/tls.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/surtr/tls.nix b/hosts/surtr/tls.nix index d99e832c..4d0bc2b1 100644 --- a/hosts/surtr/tls.nix +++ b/hosts/surtr/tls.nix | |||
@@ -32,7 +32,8 @@ let | |||
32 | 32 | ||
33 | case "''${mode}" in | 33 | case "''${mode}" in |
34 | present) | 34 | present) |
35 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT '""' | 35 | ${knotCfg.cliWrappers}/bin/knotc zone-get ${zone} "''${owner}" TXT && \ |
36 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT '""' | ||
36 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}" | 37 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}" |
37 | ;; | 38 | ;; |
38 | cleanup) | 39 | cleanup) |