use acme-dns for dns-based validation
1 file changed, 4 insertions(+), 5 deletions(-)
changed files
M dnsconfig.js → dnsconfig.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 )