Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any reason Cloudflare DNS mode CF_Account_ID not a per domain config file setting? #3988

Open
centminmod opened this issue Mar 17, 2022 · 3 comments

Comments

@centminmod
Copy link

centminmod commented Mar 17, 2022

According to https://github.com/acmesh-official/acme.sh/wiki/dnsapi#1-cloudflare-option you can set it as an environmental variable export CF_Zone_ID="xxxxxxxxxxxxx". Otherwise CF_Zone_ID is saved as as a global variable in ~/.acme.sh/account.conf

I currently use the export method, but any reason why acme.sh can't make CF_Zone_ID a per domain config file setting variable? It's very rare that a Cloudflare domain zone would change it's CF_Zone_ID anyway and would help for cronjob auto renewals.

And would help #3779 too?

@thedaveCA
Copy link

This goes back to #1278.

And #799 (the global API key version of this same problem, whereas the newer Cloudflare API is using CF_Zone_ID instead).

@Neilpang
Copy link
Member

I think the cf zoon id is saved in the domain conf:

https://github.com/acmesh-official/acme.sh/blob/master/dnsapi/dns_cf.sh#L31

@centminmod
Copy link
Author

Thanks @Neilpang !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants