-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Harder to use for multiple domains (records) simultaneously #25
Comments
Hi @Chealer, thank you for opening this issue! Sorry for not replying earlier, but GitHub didn't send me any notification. Yes, this is a known limitation, as outlined in issue #22. Still, depending on your use case, you may be able to create a single It is not possible to update multiple records in a single atomic operation using Cloudflare's API, which is the main reason why I didn't add this feature (yet). Let me know if this fixes your issue! |
Hi @Tachi107,
Not at all, that's still a fast reply by comparison with most projects. But thank you for your care!
Right, this would be a good workaround to document, but it doesn't help with servers which truly serve multiple top-level domains due to
For what it's worth, I do not really see how this constitutes a problem (unless you mean it causes more work to be needed for implementation), but thanks for sharing.
To clarify, this is not "my issue" just because I reported it. I already worked around the difficulty this caused on my server. |
Yeah this had me troubleshooting for waaaay too long, so thank you for making this issue as it helped me greatly. When using the program as a service it refuses to run with arguments for some reason, but as I am not very familiar with C++ I cannot troubleshoot that. Hope there will be some way to implement additional entries in the config.ini, thanks for an otherwise good application :) |
I just realized that my TLS certificate had been expired since 2025-03-31. (certbot had been failing to renew due to an outdated IP address for 30 days. In fact, I thought I has this worked around thanks to the /etc/ppp/ip-up.d/cloudflare-dns-philippecloutier script I created, but in fact, the public IP address is only on the modem, so the ip-up.d script is useless. An effective workaround for our server was to use a cron job instead. |
The
cloudflare-ddns
command launches a foreground process which updates a record and exits as soon as the record is up-to-date. However, the package provides infrastructure to keep that record updated in case of future IP address changes, thanks tosystemd
configuration files which make it behave similar to what a daemon would accomplish, as explained in the README's systemd timer section.Unfortunately, it is either not possible or not clear how to use that infrastructure to maintain 2 different records (for example, foo.org and bar.org). The configuration file can store 1 token and 1 target record, but it is not clear that it can store more, and using several configuration files basically requires modifying/copying
systemd
configuration files. As of version 2.1, the configuration file appears to be unspecified.The Debian package's French description reads:
But I assume that is a mistake. The translator must have used plural assuming that several records were supported.
The text was updated successfully, but these errors were encountered: