summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--dnsconfig.js10
1 files 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')]