Open mibes-acmesh opened 2 years ago
sorry, I will fix it later.
On the other hand, when I think about it once more, how would you set an initial alternative acme-dns server? Ideally you would set it once (i.e. in the account.conf), and use it then for the automatically created domains. But my proposed code would delete it from account.conf. It wouldn't be available for subsequent runs. Wouldn't it be better to modify the value (ACMEDNS_UPDATE_URL => ACMEDNS_BASE_URL) and save that in the account.conf for subsequent runs? It would then be used automatically for new subdomains/certificates...
Steps to reproduce
acme-dns
acme.sh
The error is in the file
dnsapi/dns_acmedns.sh
on line 27/28, where the compatibility for theACMEDNS_UPDATE_URL
is missing.I propose the following fix, which is UNTESTED, beware of typos etc., to be inserted betwen line 27 and 28
Just for the record, I don't see this code as copyrighted or so, use it as you like it.