Dynamic DNS service for Amazon Route53 which can be used to automatically update a DNS record in Amazon Route53 based on the public IP address of a machine. This was specifically built to provide a mechanism for a router running DD-WRT to update a DNS record dynamically.
- FIXME (list of features)
- Bundler
- AWS Route53 account
rvm gemset create dynr53
rvm gemset use dynr53
- Install bundler
gem install bundler
- Install the required gems using
bundler
bundle install
Before running through the steps outlined in the "General" section above, perform the following steps.
- Install Xcode
- Install the Xcode commandline tools
xcode-select --install
Launch the service:
rackup -p 4567
Send a GET or POST request to update the DNS record in Route53:
wget -XGET http://localhost:4567/update/8.8.8.8
All configuration options must be stored in a single config file named config.yml
. See config.yml.sample
for a sample configuration.
Configuration options include:
zone: [ZONE_ID]
-- Route53 hosted zone idaccess_key: [ACCESS_KEY]
-- AWS access keysecret_key: [SECRET]
-- AWS secret keyname: [RECORD NAME]
-- Name of the record to update in Route53
Original author: Sean Laurent
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses