Skip to main content

A set of tools for configuring Amazon route53

Project description

dns_setup reads a simple yaml file that only defines credentials, domains and bind style zone files used to define the domains.

Amazon Alias entries are treated as a TXT dns type with _alias added to the domain name and the value starting with ‘Alias ‘. This is to work around the dnspython library does not allowing invalid dns types. An example alias in a zone file, (replace hosted_zone_id and dns_name): $TTL 600 ; 10 minutes - Alias entries always have a ttl of 600 _alias IN TXT “Alias hosted_zone_id dns_name.”

update_host.py will update a single host entry in an route 53 domain. It relies on environment variables and command line arguments rather than yaml. I use it to accomplish dynamic dns for ec2 with the simple init script found in contrib. Since this will potentially be on many many machines for security I suggest you use a dns subdomain and different AWS credentials with this script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Cirrus-0.10.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

Cirrus-0.10-py2.7.egg (15.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page