Skip to content

Instantly share code, notes, and snippets.

View richardnbanks's full-sized avatar
👨‍💻
Coding up a storm

Richard Banks richardnbanks

👨‍💻
Coding up a storm
View GitHub Profile
@richardnbanks
richardnbanks / route53DynDNS.bash
Created August 18, 2012 10:20 — forked from simonmcc/route53DynDNS.bash
Amazon Route 53 Dynamic DNS (CNAME) Updater Script
#!/bin/bash
#
# This script requires xpath to parse part of the dnscurl.pl output
# on CentOS/RedHat/Amazon Linux:
#
# sudo yum install perl-XML-XPath
#
# also, dnscurl.pl (from http://aws.amazon.com/code/Amazon-Route-53/9706686376855511)
# expects your secrets to be in ~/.aws-secrets
# using a file format like this (from http://dmz.us/wp/wp-content/uploads/r53/aws-secrets.txt)