Created
April 8, 2020 04:39
-
-
Save takumaw/5e7d101fa8e5c5e6175bdc78dda74b2f to your computer and use it in GitHub Desktop.
noip-dns-update.sh
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/zsh | |
USERNAME="" | |
PASSWORD="" | |
HOSTNAME="" | |
curl "https://$USERNAME:$PASSWORD@dynupdate.no-ip.com/nic/update?hostname=$HOSTNAME&myip=$(curl https://ifconfig.me 2> /dev/null),$(curl https://ifconfig.co 2> /dev/null)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment