Skip to content

Instantly share code, notes, and snippets.

Phil Hagen philhagen

Block or report user

Report or block philhagen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@philhagen
philhagen / gist:5698359
Created Jun 3, 2013
convert ALIAS records for all of your DNSimple domains to A records, including a TXT record to identify which domains were converted. The TXT record will allow automated reversal at a later date. The actual add/delete functions are commented here to allow you to run in "safe mode" first.
View gist:5698359
#!/usr/bin/python
from dnsimple import DNSimple
import socket
dns = DNSimple(email='foo@bar.com', api_token='your_token_here')
domains = dns.domains()
for domain in domains:
dname = domain['domain']['name']
You can’t perform that action at this time.