I’m getting the following when trying to setup SSL via a DNS challenge, domain is redacted.
Activating privacy features...2017/01/20 08:34:58 [domain.me.uk] failed to get certificate: Error presenting token: Could not determine zone for domain: 'domain.me.uk'. Could not find the start of authority
Config is as follows:
domain.me.uk {
  gzip
  tls {
    dns digitalocean
  }
}
And the script to start the server:
#!/bin/bash
export DO_AUTH_TOKEN="xxx"
caddy -conf=Caddyfile