Refactor DDNS updater code#2599
Conversation
|
Route 53 test results --- Test: Route53 basic update cycle (wait 20s) --- --- Test: Route53 missing credentials (expected failure) --- --- Test: Unknown provider (expected failure) --- All requested tests complete. |
699c235 to
53dd193
Compare
53dd193 to
be75f4b
Compare
0b2edd2 to
7ca608c
Compare
|
CloudFlare test results --- Test: Cloudflare basic update cycle (wait 20s) --- --- Test: Cloudflare invalid token (expected failure) --- All requested tests complete. |
7ca608c to
cfab8cb
Compare
What I did
Refactor the DDNS updater so it can use multiple providers. Add the CloudFlare provider. Add a test harness for the new code, so it can be tested end-to-end
CF_ZONE_API_TOKENis gone, this split is no longer needed: A scoped DNS Edit token now suffices for CloudFlare to be able to get the zone ID from a domain name.This refactor heavily relied on opencode's "Big Pickle" model, with human review and revision