Re:Dyn Decided To Stop Offering Free Accounts for Dynamic DNS
by Hangya on Monday April 07, 2014 @02:10PM
(#7548186)
For this purpose I wrote a script which is run every minute by cron.
It checks if current IP has been changed since last run, and if yes, sends an API request to my VPS provider to update a DNS A record with the new value.
It checks if current IP has been changed since last run, and if yes, sends an API request to my VPS provider to update a DNS A record with the new value.
Here is a sample script with Linode and DigitalOcean API calls: https://gist.github.com/Hangya/10026019