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):

  • jellyfin.tknx.com
  • bitwarden.tknx.com
  • sonarr.tknx.com

I set up Cloudflare-DDNS with my API key

docker run
  -d
  --name='Cloudflare-DDNS'
  --net='bridge'
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="Cloudflare-DDNS"
  -e 'API_KEY'='redacted'
  -e 'ZONE'='tknx.com'
  -e 'SUBDOMAIN'=''
  -e 'PROXIED'='true'
  -e 'RRTYPE'='A'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='https://i.imgur.com/PKa3Sm2.png' 'oznu/cloudflare-ddns'
c538639f9551ead725d2972a26e06a5c51d0cbb30fa7443f158edd8fb77d3468

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

Type Name Content Proxy status TTL
A tknx.com my current IP appears here Proxied Auto
CNAME * tknx.com 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: https://dash.cloudflare.com/?to=/:account/:zone/ssl-tls
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.