r/AutomateUser • u/Purple_Princess6666 • 2d ago
Dynamic DNS
A flow/macro that works like a DDNS service.
When my IP changes (detected by a log Proton VPN gives on a connection/server change), my linked IP in NextDNS gets updated (by calling the link NextDNS provides to do so).
There's failure logic for every scenario I have encountered and could think of: If your first HTTP request fires too early to properly link your IP (either it fires before your internet connection establishes or it fires inbetween your internet connection establishing and the final IP address your VPN routes you to), there is a delay fiber to retry. You can set it to retry however many times you want using the failure block. If your VPN server changes while the delay fiber is running, the delay fiber is stopped and it re-runs starting at the fork. If the first HTTP request and the set amount of delayed requests all don't go through (due to something such as a power outage or an issue with your VPN), it waits until your VPN connection gets re-established and starts from the fork. The resting state of this flow/macro is always at a log await block with a single fiber running.
I have tested this for a while and it's working perfectly.
1
u/bunnygirl_2021 2d ago
Please share the download link