Open ghost opened 5 years ago
What’s wrong with using dynamic DNS? Isn’t that the official solution to exactly this problem?
There's nothing wrong with dynamic DNS, but you either need to purchase a subscription to a service or verify your DNS every month. iCloud is free, updates flawlessly, and anyone who can download Blink from the app store has an iCloud account. I just wonder whether it would be worthwhile to implement hostname syncing through iCloud as a native feature, to make Blink even more of a one-stop-shop than it already is.
I have a private server with a dynamic public IP address. I had an idea to keep my Blink hostname up to date using Blink's iCloud sync, instead of dynamic DNS or connecting with a VPN.
If Blink had a file in the iCloud sync folder that just stored the hostnames for created hosts, then it would be easy to update the hostnames on the server through iCloud (perhaps by running a small daemon that updates the hostnames file whenever the dynamic IP changes). Then, Blink could update its hosts file with the addresses from the iCloud hostnames file. This would allow Blink to natively maintain correct credentials even for dynamic hostnames. Would it be possible to implement something like this?