Dynamic DNS - Non Static External IP

Is there any plugin available to update regularly DNS A records exactly like dynamic dns services do? I have mobile endpoint and it has no static IP so I require updating it manually when I need to use that endpoint. Earlier I solved it by VPN but it required to use 3rd party VPS to achieve connections between endpoint and my network. The main issues of VPN use were speed,latency and performance (low cost VPS).
3 Replies
Chaika
Chaika6mo ago
There's applications out there like ddclient which have support for Cloudflare DNS to automatically update: https://developers.cloudflare.com/dns/manage-dns-records/how-to/managing-dynamic-ip-addresses/ or you could script your own, the Cf API is pretty simple -- not too hard building something to auto update. Tunnels are also an option like I mentioned in your last post for this sort of thing, espec if it's an http service. They connect outbound to CF's Edge, it doesn't matter what your IP is/firewall/nat restrictions with tunnels
tommy_hey
tommy_heyOP6mo ago
Understanding your solution this could work well, I wonder now how tonsimply detect tome wuen IP is changed or do you suggest to run API qieri in fixed time periods? Eg in cron every nn minutes?
Chaika
Chaika6mo ago
usually it's just a cron that executes regularly, checks if the IP changes (old ip stored locally) and changes if needed
Want results from more Discord servers?
Add your server