lego icon indicating copy to clipboard operation
lego copied to clipboard

Can I get one long TXT record with multiple --domain arguements for DNS auth?

Open paulehoffman opened this issue 9 years ago • 4 comments

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?

paulehoffman avatar Sep 01 '16 21:09 paulehoffman

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.

xenolf avatar Sep 30 '16 11:09 xenolf

Thanks for the "did not ignore". It would be swell if the LE folks let us do this.

paulehoffman avatar Sep 30 '16 17:09 paulehoffman

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?

bendem avatar Oct 04 '22 08:10 bendem

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.

bendem avatar Oct 04 '22 08:10 bendem