Skip to content

Instantly share code, notes, and snippets.

View pgehres's full-sized avatar

Peter Gehres pgehres

View GitHub Profile
@pgehres
pgehres / gist:59a0764645cb2f2f411c
Created June 26, 2015 05:41
Route53 dynamics DNS
ZONE_ID = "<ZONE ID>"
DOMAIN_NAME = "host.name.com." # keep ending period
from boto.route53.connection import Route53Connection
from boto.route53.record import ResourceRecordSets
import requests
import sys
ip = requests.get("http://httpbin.org/ip").json()['origin']

Keybase proof

I hereby claim:

  • I am pgehres on github.
  • I am pgehres (https://keybase.io/pgehres) on keybase.
  • I have a public key ASC7lRxJtNr6JgrQpfDlvSduYZrtvlQNvpmSuLLB5Po67go

To claim this, I am signing this object: