Update your UltraDNS configured A, AAAA, or CNAMEs to point to an instance public hostnames or IPs.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
lib
spec
.gitignore
Gemfile
LICENSE
README.md
Rakefile
apiary.apib
ultradns_updater.gemspec

README.md

UltraDNS updater for public instances

Description

This gem provides the capability to update your UltraDNS configured CNAME or A record to point to instance public hostnames or IP address respectively.
Strategies for updating sources include EC2 and VPC.

Installation

Requires

  • Ruby & Ruby developer packages needed for nokugiri dependencies (Ubuntu example)

    sudo apt-get install ruby1.9.3 libopenssl-ruby
    sudo apt-get install libxslt1-dev libxml2-dev

    gem install ultradns_updater

Usage

EC2 / VPC

  1. Configure an EC2 instance tag with the name 'Name' and the (fqdn) value of the CNAME to set for the instance 1a. If there is no public hostname for the instance (as in VPC), an A record will be created using the interface configured (next step)
  2. Create a YAML configuration (see: config/sample.config.yaml)
  3. Run: ultradns_updater -c /etc/ultradns_updater_config.yaml

Hostname

You can utilize a hostname as the source name (fqdn) to set in ultradns through the configuration file. see: config/sample.config.yaml

Explicitly Configured

Another option is to explicitly configure the (fqdn) name of the instance to map to an interface IP address. see: config/sample.config.yaml

Optional

Output the name used as the CNAME like so: ultradns_updater -c /etc/ultradns_updater_config.yaml -o /tmp/hostname.fqdn

Notes

UltraDNS support is not implied or guaranteed by use of this project. We will happily take patches or pull requests and address issues as much as possible.