lego icon indicating copy to clipboard operation
lego copied to clipboard

New provider to support complicated multi-dns-provider setups

Open captncraig opened this issue 7 years ago • 4 comments
trafficstars

This adds a "multi" provider that dynamically creates and selects dns providers to use on a domain-by-domain basis. I need this for our production setup because:

  1. We need a single certificate that spans many domains, including multiple wildcards.
  2. Most domains are hosted on multiple dns providers (google cloud and r53, both active all the time).
  3. Some domains are hosted on different providers from others.
  4. We even have multiple cloudflare accounts with different feature sets that have different domains on them.

Using the "multi" provider, you supply an addition json configuration that specifies which providers are available with their credentials, and which providers should be applied to which domains.

This can be a little complicated to specify, but it seems necessary if your setup is as convoluted as described above.

Godoc documentation should describe pretty well how to use it.

Tested working in some pretty complicated scenarios for production-level certs.

captncraig avatar Jul 24 '18 19:07 captncraig

@captncraig could you rebase?

ldez avatar Aug 01 '18 15:08 ldez

Any updates on this? it is becoming clear that I might need this in our platform too.

daegalus avatar Feb 21 '19 19:02 daegalus

Sorry, I got sidetracked on this and we decided to use our existing dns tool for this as well. I think this feature is still an ok idea, but am reluctant to continue work on it as the config can be a bit tricky, and I can't commit to really offering support going forward. The code is there though. If somebody wants to take it up, rebase and get it merge-ready please do.

captncraig avatar Feb 21 '19 19:02 captncraig

I already start to work on this, but for now I don't found a satisfying approach.

ldez avatar Feb 21 '19 19:02 ldez