From 969b7083edf7f402235ad1bac4b8e374489d84b7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 30 Jun 2024 13:23:11 +0200 Subject: enable management of ACME delegation records --- dnsconfig.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dnsconfig.js b/dnsconfig.js index a6e5b27..823828b 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -58,6 +58,14 @@ function bulkCNAME(sources, target) { }) } +/** + * @param {string} source + * @param {string} subdomain + */ +function acme(source, subdomain) { + return CNAME(source, subdomain + '.acme.alanpearce.eu.') +} + var nameserversHE = [ NAMESERVER('ns1.he.net.'), NAMESERVER('ns2.he.net.'), @@ -72,8 +80,6 @@ var acmeLetsEncrypt = [ issue: ['letsencrypt.org'], issuewild: ['letsencrypt.org'], }), - IGNORE('_acme-challenge', 'TXT'), - IGNORE('_acme-challenge.**', 'TXT'), ] var websiteHosting = [fly('@'), fly('www')] -- cgit 1.4.1