-
Notifications
You must be signed in to change notification settings - Fork 5
Ruby script to use Route53 as dynamic DNS
License
dreamins/Route53DDNS-ruby
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Ruby script to use Route53 as dynamic DNS provider.
= Requirements =
* Ruby
* Route53 account with setup zone/domain name
= Installation =
* apt-get install ruby
* apt-get install ruby-full
* apt-get install libcurl3-dev
* 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 0
No packages published