Traefik let's encrypt DNS Challenge with multiple providers

Hi,

is it possible to configure traefik 2.2.x to use more than 1 DNS Provider for let's encrypt DNS Challenge.

Say i have AWS Route53 working for a DNS stored at route53 and now i have to handle another domain that is registered at DigitalOcean for example.

Do i have to simply add Env Variables for both DNS Providers - and then add mutliple dns challenges in config?
If so can someone give an example ?

Regards
Robert

Yes. Dead on.

Caveat: I don't use dns certificate resolvers.

certificatesResolvers:
  aws:
    acme:
      dnsChallenge:
        provider: digitalocean
  digital:
    acme:
      dnsChallenge:
        provider: route53
1 Like

Hello cakiwi,

but I have two providers who both use [RFC2136]. So I have to set two different sets of environment variables.

  • RFC2136_NAMESERVER
  • RFC2136_TSIG_ALGORITHM
  • RFC2136_TSIG_KEY
  • RFC2136_TSIG_SECRET

How do I do that? Can I set the environment variables in the corresponding certificatesResolvers? How?

Thanks!

Hi @SamLowry

See @ldez's response on a similar topic: