From 810835b36cc1f3d50e7090f8b85ce845f9d6a37c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 30 May 2021 17:42:24 +0200 Subject: acme@surtr: ... --- hosts/surtr/tls.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hosts') 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 owner=''${fqdn%".${zone}."} - function cleanup() { + function abort() { ${knotCfg.cliWrappers}/bin/knotc zone-abort "${zone}" } - trap cleanup EXIT ${knotCfg.cliWrappers}/bin/knotc zone-begin "${zone}" + trap abort EXIT case "''${mode}" in present) @@ -58,6 +58,7 @@ in { extraDomainNames = [ "*.rheperire.org" ]; dnsProvider = "exec"; credentialsFile = knotDNSCredentials "rheperire.org"; + dnsResolver = "1.1.1.1:53"; }; }; }; -- cgit v1.2.3