-
-
Save xoxefdp/f1fbe202d5a8861574e8bba27c13e5b9 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 -k https://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