Skip to content

boobboo/Route53DDNS-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)

About

Ruby script to use Route53 as dynamic DNS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published