-
-
Save julianobarbosa/7e562d7fbbd5dd61c431f22544cc8ccc to your computer and use it in GitHub Desktop.
Update Public Ip on dnsdynamic.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# EDIT this | |
[email protected] | |
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment