Skip to content

Instantly share code, notes, and snippets.

View Zac610's full-sized avatar

Sergio Lo Cascio Zac610

View GitHub Profile
@Mic92
Mic92 / update-dnsdynamic.sh
Created September 4, 2012 12:00
Update Public Ip on dnsdynamic.com
#!/bin/sh
# EDIT this
EMAIL=youremail@example.com
PASSWORD=yoursecret
DOMAIN=example.dnsd.me
IP=`curl --silent http://myip.dnsdynamic.com/`
curl --silent --user "$EMAIL:$PASSWORD" -k "https://www.dnsdynamic.org/api/?hostname=$DOMAIN&myip=$IP"