-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
29 lines (23 loc) · 783 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 :)