I am setting up Caddy on my OPNsense firewall. My domain’s DNS is handled by Cloudflare but there is a CNAME to point back to my DDNS provider, so it sees the up to date public IP. When setting up the DNS provider section do I look to Cloudflare or do I look to my DDNS provider for items like the API key?
If you’re setting up Caddy to use the DNS challenge to issue certificates, then it doesn’t matter what your public IP is. Configure Caddy for your DNS provider.