Created
January 12, 2016 05:42
-
-
Save audy/67a99a0a826e3c2b5cc4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bash | |
set -euo pipefail | |
hostname="test.austinfanclub.com" | |
ip=`curl http://ipv6.icanhazip.com/` | |
curl \ | |
--user "[email protected]:`pass iwantmyname`" \ | |
"https://iwantmyname.com/basicauth/ddns?hostname=${hostname}&myip=${ip}" |
dch
commented
Jan 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment