Skip to content

Instantly share code, notes, and snippets.

@ampledata
Created June 21, 2011 00:27
Show Gist options
  • Save ampledata/1036959 to your computer and use it in GitHub Desktop.
Save ampledata/1036959 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'dynect_rest'
res = 'i-8bd180e5.example.com'
dyn = DynectRest.new("example", "me", "xxx", "example.com")
DynectRest::Resource.new(dyn, 'CNAMERecord', 'example.com').get(res)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment