Cloudflare DDNS setup

I am using the Cloudflare-DDNS docker and am getting “too many redirects

So let’s say I have three subdomains I want to have work (fictional domain name):


I set up Cloudflare-DDNS with my API key

docker run
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e 'API_KEY'='redacted'
  -e 'ZONE'=''
  -e 'SUBDOMAIN'=''
  -e 'PROXIED'='true'
  -e 'RRTYPE'='A'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='' 'oznu/cloudflare-ddns'

Then what do I need to do for the DNS records?

Type Name Content Proxy status TTL
A my current IP appears here Proxied Auto
CNAME * Proxied Auto

My caddy file is setup for those subdomains already, and it worked fine on Google.

Too many redirects is often caused by your SSL/TLS Encryption Mode in Cloudflare being “Flexible” when it needs to be “Full (Strict)”. In the Cloudflare dashboard, navigate to Websites → click on your own, go to SSL/TLS Overview and ensure it is “Full (Strict)”. Magic Link:
After you change it, should only be a minute or less until it takes effect.
If that doesn’t fix it, the actual domain name or the response with the location: header to where it is trying to redirect you to would be helpful.

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