I want to use cloudflare to defend ddos, so I use cloudflare proxy mode. There was a problem generating the certificate.
According to the documentation, fly.io can use DNS challenge when generating certificates, but I can’t find the value that DNS challenge needs to set.
Document: SSL for Custom Domains
$ flyctl certs show example.com
...
DNS Provider = dnsimple
DNS Validation Instructions = CNAME _acme-challenge.example.com => example.com.o055.flydns.net.
DNS Validation Hostname = _acme-challenge.example.com
DNS Validation Target = example.com.o055.flydns.net
...
What I get (hide domain info):
$ flyctl certs show <my-domain>
Hostname = <my-domain>
DNS Provider =
Certificate Authority = Let's Encrypt
Issued =
Added to App = 25 minutes ago
Source = fly
...
You can configure your DNS for <my-domain> by:
1: Adding an CNAME record to your DNS service which reads:
CNAME <subdomain>. <app>.fly.dev
How can I get the DNS Validation Target
value? Or am I misunderstanding the DNS challenge?