Skip to content

Instantly share code, notes, and snippets.

@ampledata
Created June 21, 2011 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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