lego
lego copied to clipboard
Can I get one long TXT record with multiple --domain arguements for DNS auth?
Greetings. lego --email="[email protected]" --dns=manual --domains="example.com" --domains="www.example.com" --domains="blarg.example.com" run first tells me to past the record in for example.com, then later for www.example.com, then later for blarg.example.com. For those of us who have 6+ subdomains we want in the SAN, is it possible for lego to say "paste all these lines into your zone file" instead of one at a time?
Just to let you know that I did not ignore this but this is currently not possible with how the providers work. I kept this on my list of things to improve for the V2 API release of LE.
Thanks for the "did not ignore". It would be swell if the LE folks let us do this.
This is one of the oldest issues still open and still very much something that we'd love to see. Has the way the providers work evolved in a way that would make this possible today?
To give some context, we are a public organisation, our DNS is handled by our MSP, which means each record change requires sending an email, waiting 1-4 hours for the change to be applied manually and confirmed. We have multiple domains for one of our certificate, that means 1-4 hours multiplied by the amount of domains. We do most of our renewals in parallel, but it takes us 1-2 business days every 3 months because of this.