oznu/docker-cloudflare-ddns

Usage with several subdomains

Manuel5cc opened this issue · 3 comments

I have tried using it with several subdomain, adding the "SUBDOMAIN" environment variable for each one, but it does only update one of them. Is this even a possibility? is it planned? if not I strongly suggest it.

While running multiple containers is a solution, I too would like this feature for the sake of optimization. Additionally, if this feature is added, I would request that it be possible to set the root domain in addition to multiple subdomains, and perhaps even specify whether or not to use Cloudflare's proxy for each subdomain. If this is too complicated to do with environment variables, I would suggest a mountable configuration file.

I have a single domain I update, then cname all others to that.

oznu commented

I have a single domain I update, then cname all others to that.

This is the correct way to do multiple domains.

https://www.cloudflare.com/en-au/learning/dns/dns-records/dns-cname-record/

https://community.cloudflare.com/t/how-do-i-add-a-cname-record/59