Skip to content

Instantly share code, notes, and snippets.

View VirtualEstatePlanner's full-sized avatar
🐳
Making digital magic daily

George Georgulas VirtualEstatePlanner

🐳
Making digital magic daily
View GitHub Profile
@jgamblin
jgamblin / godaddydns.sh
Created July 12, 2017 11:11
Shell Script To Automatically Create A DNS A Record in Godaddy.
#!/bin/bash
DOMAIN=jgamblin.com
RECORD_NAME=newproject
GODADDY_API_KEY=(Get from devloper.godaddy.com)
GODADDY_API_SECRET=(Get from devloper.godaddy.com)
# Get IP Address
IP=`dig +short myip.opendns.com @resolver1.opendns.com`
# Create DNS A Record