mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-06-08 00:01:53 -04:00
[PR #154] [MERGED] [ovh] Add support for * sub domain #631
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/154
Author: @fredericrous
Created: 1/27/2021
Status: ✅ Merged
Merged: 1/28/2021
Merged by: @qdm12
Base:
master← Head:ovh/zonedns📝 Commits (10+)
a8f0723[ovh] Add support for * hostc6ecf72Implement Review: Update docs/ovh.md1b37c38Implement Review: Update internal/settings/ovh.gof2fab9dImplement Review: Update internal/settings/ovh.gof8ba0b5Implement Review1f1de64fix lint62ec6efImplement Review: update docs/ovh.md06ce7ddImplement Review: Update internal/settings/ovh.gobaba1bcImplement Review: Update internal/settings/ovh.go8fd6af9Implement Review: Update internal/settings/ovh.go📊 Changes
5 files changed (+144 additions, -9 deletions)
View changed files
📝
docs/ovh.md(+16 -0)📝
go.mod(+1 -0)📝
go.sum(+9 -0)📝
internal/settings/errors.go(+3 -0)📝
internal/settings/ovh.go(+115 -9)📄 Description
This PR introduces support for subdomain record actualization (A * or else)
This solves issue https://github.com/qdm12/ddns-updater/issues/153
This PR introduces a new go package, ovh-go. I am usually reluctant to add external packages. However, the requests to OVH API have to be signed with a complicated algorithm. Not using their packages would mean maintaining kinda the same amount of code the ovh-go package has + introduce tests for the request signature which are already done in the ovh-go package.
I tested record creation and record update for A @ and A *. The PR also supports AAAA but I don't use it
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.