Multiple DNS Providers Support

1. My Caddy version (caddy -version):

Caddy v1.0.4 (h1:wwuGSkUHo6RZ3oMpeTt7J09WBB87X5o+IZN4dKehcQE=)

2. How I run Caddy:

Directly binary for testing. Not productive yet.
./caddy -ca https://acme-staging-v02.api.letsencrypt.org/directory -conf Caddyfile

Caddyfile:

XXXXX.com {
    tls {
        dns ns1
        dns route53
    }
    root /data/htdocs
}

3. The problem I’m having:

At my company we use multiple DNS Providers for redundancy.
So we want to specify multiple Providers in the config.
Generally this doesn’t throw an error when you execute but it looks like only the last provider is beeing used.
My expectation is that both DNS Providers are respected and TXT records get created on both.

4. Error messages and/or full log output:

Activating privacy features... 

Your sites will be served over HTTPS automatically using Let's Encrypt.
By continuing, you agree to the Let's Encrypt Subscriber Agreement at:
  https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Please enter your email address to signify agreement and to be notified
in case of issues. You can leave it blank, but we don't recommend it.
  Email address: XXXX@XXXX.com
2020/02/11 10:39:37 [INFO] acme: Registering account for XXXX@XXXX.com
2020/02/11 10:39:37 [INFO] [XXXXXXX.com] acme: Obtaining bundled SAN certificate
2020/02/11 10:39:38 [INFO] [XXXXXXX.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/38352942
2020/02/11 10:39:38 [INFO] [XXXXXXX.com] acme: Could not find solver for: tls-alpn-01
2020/02/11 10:39:38 [INFO] [XXXXXXX.com] acme: Could not find solver for: http-01
2020/02/11 10:39:38 [INFO] [XXXXXXX.com] acme: use dns-01 solver
2020/02/11 10:39:38 [INFO] [XXXXXXX.com] acme: Preparing to solve DNS-01
2020/02/11 10:39:39 [INFO] Wait for route53 [timeout: 2m0s, interval: 4s]
2020/02/11 10:40:14 [INFO] [XXXXXXX.com] acme: Trying to solve DNS-01
2020/02/11 10:40:14 [INFO] [XXXXXXX.com] acme: Checking DNS record propagation using [193.218.104.190:53 193.218.103.253:53 192.168.178.1:53]
2020/02/11 10:40:14 [INFO] Wait for propagation [timeout: 2m0s, interval: 4s]
2020/02/11 10:40:14 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:18 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:22 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:26 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:30 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:34 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:38 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:42 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:46 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:50 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.
2020/02/11 10:40:54 [INFO] [XXXXXXX.com] acme: Waiting for DNS record propagation.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.