wrote: I think you are confusing the two. EdgeOS is not providing any form of "notification" itself.
DDNS is a generic "dynamic DNS" - it is not any one particular solution. EdgeOS works with many APIs already and provides an option for you to use any custom API that is not one of those pre-defined.
EdgeOS configuration gives you the ability to use whatever API or service you want. Yes ddclient is underneath but that shouldn't really be relevant. There are many options for custom API usage with EdgeOS and there are even some already documented in this forum that should be readily found with some searching.
Really - Take a look at the KB articles I referenced since they should provide some insight on doing exactly what you are looking to do. You don't need to look to invent the wheel here.
Let me start with the fact that I really appreciate the help you are providing, I really do.
I believe however that there is some misunderstanding about my problem.
- I know that DDNS is a generic term. DDNS service providers have various protocols to send them updates.
- EdgeOS implements (via ddclient, but as you mention it is not relevant) several of these protocols and provides a brdge to these services.
- my DNS provider does not implement any DDNS protocols
- my DNS provider implements a proprietary (and documented) REST API
- my externa IP chnges from time to time
These facts give me two possible solutions to have a fixed name (external.example.com if example.com is my domain) when the IP is not stable:
- using a DDNS service such as dyndns, noip or others - I would then directly set this up on my EdgeRouter. For some reasons (including that I do not want to rely on an external service such as this one) this is not the solution I want to use
- writing my own code which will
- check is the external IP chnaged
- update my DNS registrar with that information
Today I have the solution 2 working. What I do not like in that solution is that point 2.1 (checking is the external IP changed) is done via regular calls to an external service (namely ipify (https://www.ipify.org/)).
The fact that the EdgeRouter can detect the IP change and send it to a DDNS provider would be useful: I would have him send this information to me and not to a preestablished DDNS service. I just need to know what is being sent so that I can make use of it in my code.
Now, if you think that I am reinventing the wheel or making a mistake I would be genuinly interested in how you would do that, taken the constrtaints at the top of this comment (seriously - I may be completely missing something as I have not worked with dynamic DNS services so far (despite 25+ years of IT and dev)).
And BTW I read the links you provided with great care, it is just that they do not answer my problem.
EDIT: to my comment that I just need to know what is being sent so that I can make use of it in my code. , I found descriptions of the protocols used for some DDNS providers, will use it in my code. This said if yo uhave a more straightforward soluttion, I will take it with joy.