Open Redth opened 7 months ago
I also looking for such a solution. Fritzbox offers an option to call a dyndns endpoint when the ip has changed. Example documentation with the available parameters: https://en.avm.de/service/knowledge-base/dok/FRITZ-Box-6660-Cable/30_Setting-up-dynamic-DNS-in-the-FRITZ-Box/
Im not a fan of randomly calling an endpoint in a fixed interval to check for ip address changes and I would like to have such an enpoint to only run the "update" when fritzbox calls the docker container api url.
Some routers, such as Unifi, have the option to specify a custom URL to be invoked when the gateway itself realizes the IP change has happened. For example:
localhost/update?domains=mydomain.com;*.mydomain.com&ip=%i
where%i
is replaced with the actual new ip address from Unifi.If there was an option to host a tiny web api with an endpoint that took these parameters it could force the update in a more timely fashion than relying on 5 min cron jobs. Even if there was no IP parameter passed and it could just trigger an update sooner that would be a helpful place to start.
N/A