ddns-updater icon indicating copy to clipboard operation
ddns-updater copied to clipboard

Feature request: Ability to add custom providers.

Open upuldi opened this issue 3 years ago • 2 comments

I think it is better if there is a feature to add any custom provider.

upuldi avatar May 05 '22 16:05 upuldi

+1

TimApplepie avatar May 23 '22 07:05 TimApplepie

What do you mean? There is also the custom provider (see the wiki) where you can specify a custom openvpn config file or custom wireguard variables.

Otherwise, I'm working on simplifying the code to add more providers, but that will still require pull requests written in Go.

qdm12 avatar May 26 '22 14:05 qdm12

What do you mean? There is also the custom provider (see the wiki) where you can specify a custom openvpn config file or custom wireguard variables.

Otherwise, I'm working on simplifying the code to add more providers, but that will still require pull requests written in Go.

there are hosters, where you update the page with a url eg: https://hoster?.de/store/dyndns/?ipaddr=[ipaddr],&domain=my.domain.de&wildcard=0 [ipaddr] = ipv4 /ipv6

i don't know programming, but you could have something recognized in the url e.g. [ipaddr] or < ipv4 > ?

the function is available in the fritzbox, for example.

Simon99de avatar Sep 26 '22 18:09 Simon99de

+1 this is what OpenWRT and DD-WRT, do. They allow you to specify custom provider by URL.

TCB13 avatar Jul 14 '23 17:07 TCB13

Want to chime in here. This is how Synology NAS and FritzBox routers also tackle the issue. I am needing integrations for 2 providers that aren't listed.

It seems like blunt-force (or regex?) substitution strategy of some sort would be trivial, and would probably eliminate a lot of the existing providers that accept an update via a get request. Essentially define a bunch or tokens you're willing to search for and replace in a tokenized url. image

The trick is not to lock users into a preexisting list of tokens, b/c each provider will have different requirements. (Synology's interface for example has a field for IP4, but not IP6, which is why I am looking for an alternative.)

stalsma avatar Nov 20 '23 15:11 stalsma

Done in 0c561d437816022383a89076850e10642ca142a9

Documentation is at https://github.com/qdm12/ddns-updater/blob/master/docs/custom.md

Note this issue is a duplicate of original issue #168 so please continue the conversation on the original issue if you want to.

qdm12 avatar Jan 19 '24 19:01 qdm12

Thank you for this.

TCB13 avatar Jan 19 '24 21:01 TCB13