Cloudflare: failed to find zone DOMAIN


I added LEGO_DISABLE_CNAME_SUPPORT=false to my docker-compose.yml while my cloudflare dns settings were configured in the above mentioned way with the CNAME record. Same error still results.

I tried changing it to - LEGO_DISABLE_CNAME_SUPPORT=true in the environments section my docker-compose.yml.

And I changed my cloudflare DNS to use all A records.

I stopped my traefik container. and then re-ran it with a:
~/dockerfiles/traefik$ docker-compose up -d --build --force-recreate

Unfortunately, even here, the same error is still occurring.

Thanks for the help so far. What else should I look at to troubleshoot?