diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/surtr/tls.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hosts/surtr/tls.nix b/hosts/surtr/tls.nix index c4ca09b1..b84ee6d6 100644 --- a/hosts/surtr/tls.nix +++ b/hosts/surtr/tls.nix | |||
@@ -16,12 +16,12 @@ let | |||
16 | 16 | ||
17 | owner=''${fqdn%".${zone}."} | 17 | owner=''${fqdn%".${zone}."} |
18 | 18 | ||
19 | function cleanup() { | 19 | function abort() { |
20 | ${knotCfg.cliWrappers}/bin/knotc zone-abort "${zone}" | 20 | ${knotCfg.cliWrappers}/bin/knotc zone-abort "${zone}" |
21 | } | 21 | } |
22 | trap cleanup EXIT | ||
23 | 22 | ||
24 | ${knotCfg.cliWrappers}/bin/knotc zone-begin "${zone}" | 23 | ${knotCfg.cliWrappers}/bin/knotc zone-begin "${zone}" |
24 | trap abort EXIT | ||
25 | 25 | ||
26 | case "''${mode}" in | 26 | case "''${mode}" in |
27 | present) | 27 | present) |
@@ -58,6 +58,7 @@ in { | |||
58 | extraDomainNames = [ "*.rheperire.org" ]; | 58 | extraDomainNames = [ "*.rheperire.org" ]; |
59 | dnsProvider = "exec"; | 59 | dnsProvider = "exec"; |
60 | credentialsFile = knotDNSCredentials "rheperire.org"; | 60 | credentialsFile = knotDNSCredentials "rheperire.org"; |
61 | dnsResolver = "1.1.1.1:53"; | ||
61 | }; | 62 | }; |
62 | }; | 63 | }; |
63 | }; | 64 | }; |