From 5c0b6b619b2a7ee4502aa66ad8ee03ffff64cacb Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Wed, 24 Apr 2024 02:09:31 -0400 Subject: ACME with DNS challenge --- hostnix/elmo/dyndns.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hostnix/elmo/dyndns.nix') diff --git a/hostnix/elmo/dyndns.nix b/hostnix/elmo/dyndns.nix index 3dc0144..aea6776 100644 --- a/hostnix/elmo/dyndns.nix +++ b/hostnix/elmo/dyndns.nix @@ -65,6 +65,9 @@ ''${IP6:+update add $RR. 300 AAAA $IP6} update delete $RR. TXT update add $RR. 300 TXT "v=spf1 include:_spf.mou.fo ~all" + ; Wildcard all subdomains. + update delete \\*.$1.$RR. CNAME + update add \\*.$1.$RR. 300 CNAME $RR. send . ''; -- cgit v1.3.1