Skip to content

Script to update Dns records from Amazon Route 53

Notifications You must be signed in to change notification settings

SagaieNet/updateroute53

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Script to update Amazon Route53 Dns from tags in EC2 machines.

You need https://rubygems.org/gems/route53 installed in your system.

HOW IT WORKS:

  • You need to set different tags on your EC2 machines:

    • Route53Name: Hostname (example: server1)
    • Route53Zone: Route53 hosted domain (example: domain.com)
    • Route53Cname: comma separated CNAMEs for the host (example: www,ftp,imap,smtp). Optional.
  • Configure the export variables at the beggining of the file:

    • EC2_HOME: directory where ec2-tools are installed
    • EC2_URL: URL to your EC2 zone

Add the script in cron and run it as many times as you need

Miki Monguilod

About

Script to update Dns records from Amazon Route 53

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published