mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 18:48:49 -04:00
Feature request: custom provider #99
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?
Originally created by @fredericrous on GitHub (Feb 7, 2021).
Originally assigned to: @qdm12 on GitHub.
Give users the ability to configure a custom provider. Looking at the current list of providers, I see a lot of providers are essentially calling one URL with a get request. We could give users the ability to define a url
We could go further by letting the user define a return code or to let him define HTTP headers, however in most cases the response seems to be 200 and no extra header is needed
The cons I see of implementing this is that we won't know which provider users are using (without some kind of anonymous analytics on which user could opt out)
The pros: less providers to implement, more providers supported by just documenting how to set them up
@fredericrous commented on GitHub (Feb 7, 2021):
That's just a suggestion. As I'm using wildcard records with gandi and ovh I don't use this kind of paradigm. But I think that it could reduce the amount of code to maintain. And writing doc is sure less fun than coding but way faster ^^
@qdm12 commented on GitHub (Feb 7, 2021):
A few of them use the dyndns protocol with tiny variations. We could tackle that 👍
But otherwise, it's highly variable between each provider and not just a GET request.
@qdm12 commented on GitHub (Jan 19, 2024):
Done in
0c561d4378Documentation is at https://github.com/qdm12/ddns-updater/blob/master/docs/custom.md
It's sort of simple for now, but could be extended to some extent until implementing the provider specific code in Go would be simpler.