Skip to content
Ruby script to use Route53 as dynamic DNS
Ruby
Pull request Compare This branch is 1 commit ahead, 7 commits behind dreamins:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Gemfile
Gemfile.lock
LICENSE
README
route53_ddns.rb

README

Ruby script to use Route53 as dynamic DNS provider.

= Requirements =
* Ruby
* Route53 account with setup zone/domain name

= Installation =
* gem install bundle
* git clone git://github.com/dreamins/Route53DDNS-ruby.git
* cd Route53DDNS-ruby
* bundle install

= Usage =

Create file with AWS secrets somewhere
ex:
{
    "access_key" : "your access key",
    "secret_key" : "your secret key"
}

launch with cron
crontab -e
*/5 * * * * /usr/bin/env /path_to/route53_ddns.rb --secrets-file /path_to/.your_aws_secrets --hosted-zone [your hosted zone] --random-sleep > /path_to_log/route53.log 2>&1

Please note, if you poll untrusted sources for IP they might lead your website to a wrong destination :)
Something went wrong with that request. Please try again.