mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 18:48:49 -04:00
[PR #921] Add TransIP provider #900
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qdm12/ddns-updater/pull/921
Author: @LucaScorpion
Created: 1/25/2025
Status: 🔄 Open
Base:
master← Head:transip📝 Commits (8)
1dbbbb2Start work on transip provider, wip update funce0d7857Fix lookupIPsResilient59ee28cRead private key, create access token52663a4Set user agent7f780f5Fix duplicate token labels, working update call8d2a970Working create or update logic66e4838Add docscd592e4Use encoding/pem package instead of custom string manipulation📊 Changes
10 files changed (+331 additions, -1 deletions)
View changed files
📝
.gitignore(+2 -1)📝
README.md(+2 -0)➕
docs/transip.md(+42 -0)📝
internal/provider/constants/providers.go(+2 -0)📝
internal/provider/provider.go(+3 -0)➕
internal/provider/providers/transip/provider.go(+279 -0)📝
internal/update/service.go(+1 -0)➕
readme/transip1.png(+0 -0)➕
readme/transip2.png(+0 -0)➕
readme/transip3.png(+0 -0)📄 Description
Adds support for TransIP, resolves #254
Tested locally, and seemed to work like a charm! Ipv6 and wildcards are both supported, and it will either create a new entry, or update an existing one.
The relevant API documentation can be found here: https://api.transip.nl/rest/docs.html#domains-dns
Side note: this PR also includes a small fix from https://github.com/qdm12/ddns-updater/pull/918. It shouldn't conflict, but if that does happen I'll fix that after that one is merged :)
Let me know if any changes are needed, and thanks in advance!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.