Feature request: Look up Cloudflare zone ID #361

Closed
opened 2025-11-20 04:23:09 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @yorickdowne on GitHub (Feb 5, 2024).

  1. What's the feature?

Allow users to specify a token with read access to all zones, instead of the CloudFlare zone ID: zone ID would be automatically fetched for the user.

This would be optional. If zone ID is given, use it; if not, attempt to look it up by using zone_token (also optional) or, if that does not exist, by token.

For this to work, either zone_token has to have read access to all zones, specifically Zone.Zone:Read and Zone.Zone Settings:Read, or token needs to have those permissions as well as Zone.DNS:Edit for all zones.

Originally created by @yorickdowne on GitHub (Feb 5, 2024). 1. What's the feature? Allow users to specify a token with read access to all zones, instead of the CloudFlare zone ID: zone ID would be automatically fetched for the user. This would be optional. If zone ID is given, use it; if not, attempt to look it up by using `zone_token` (also optional) or, if that does not exist, by `token`. For this to work, either `zone_token` has to have read access to all zones, specifically `Zone.Zone:Read` and `Zone.Zone Settings:Read`, or `token` needs to have those permissions as well as `Zone.DNS:Edit` for all zones.
Author
Owner

@yorickdowne commented on GitHub (Feb 5, 2024):

On further thought: No. Apologies. This is not a grand idea, it does not actually improve UX and it makes security harder for the user.

@yorickdowne commented on GitHub (Feb 5, 2024): On further thought: No. Apologies. This is not a grand idea, it does not actually improve UX and it makes security harder for the user.
Author
Owner

@qdm12 commented on GitHub (Feb 19, 2024):

Interesting suggestion still! 👍
But yes, maybe a bit convoluted 😉 Thanks 💯

@qdm12 commented on GitHub (Feb 19, 2024): Interesting suggestion still! 👍 But yes, maybe a bit convoluted 😉 Thanks 💯
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#361