feat: add Scaleway DNS protocol#930
Open
beadon wants to merge 2 commits into
Open
Conversation
Implements DDNS updates for Scaleway hosted DNS via the REST API (api.scaleway.com/domain/v2beta1). Supports IPv4 (A) and IPv6 (AAAA) record updates using an API secret key via the X-Auth-Token header. Uses a single PATCH request with a changes/set operation per record type. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cebd816 to
d0f7ce6
Compare
Contributor
Author
|
Rebased onto current main. Conflicts resolved (ChangeLog, ddclient.conf.in, ddclient.in @needs_json). Ready to merge. |
Bare FQDN server defaults send requests over plain HTTP without ssl=1; the API requires HTTPS and rejects plain HTTP with 401. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scalewayprotocol for Scaleway DNS (https://www.scaleway.com/en/dns/)PATCH /dns-zones/{zone}/recordsX-Auth-Tokenheader using an API secret keychanges/setoperationFiles changed
ddclient.in:nic_scaleway_examples,nic_scaleway_update,%protocolsentry,@needs_jsont/protocol_scaleway.pl: 8 test cases (IPv4, IPv6, dual-stack, apex, auth, API error, HTTP 500, no-op)Makefile.am: add test tohandwritten_testsREADME.md: add Scaleway to supported providers listddclient.conf.in: add example configuration blockChangeLog.md: add entry underv4.0.1-rc.2New featureTest plan
make check TESTS=t/protocol_scaleway.pl VERBOSE=1— all 9 tests passmake check— full suite passes🤖 Generated with Claude Code