all repos — dns @ ecea4c5169976e334dfdbe992605bd055f622917

DNS records for my domains, managed via dnscontrol

use acme-dns for dns-based validation

Alan Pearce
commit

ecea4c5169976e334dfdbe992605bd055f622917

parent

969b7083edf7f402235ad1bac4b8e374489d84b7

1 file changed, 4 insertions(+), 5 deletions(-)

changed files
M dnsconfig.jsdnsconfig.js
@@ -59,11 +59,10 @@ })
} /** - * @param {string} source * @param {string} subdomain */ -function acme(source, subdomain) { - return CNAME(source, subdomain + '.acme.alanpearce.eu.') +function acme(subdomain) { + return CNAME('_acme-challenge', subdomain + '.acme.alanpearce.eu.') } var nameserversHE = [
@@ -82,7 +81,7 @@ issuewild: ['letsencrypt.org'],
}), ] -var websiteHosting = [fly('@'), fly('www')] +var websiteHosting = [fly('@'), fly('www'), acme('6b17e53d-6090-4820-a557-51ee3324f38c')] // Providers:
@@ -192,7 +191,7 @@ SPF_BUILDER({
parts: ['v=spf1', '-all'], }), - DNAME('@', 'alanpearce.eu.'), + CNAME('*', 'alanpearce.eu.'), nameserversHE )