Created
September 25, 2015 07:55
-
-
Save rohityadavcloud/f211118c1735160acea5 to your computer and use it in GitHub Desktop.
updateddns
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/bash | |
set -x | |
IP=$(wget -qO- http://ipecho.net/plain; echo) | |
wget -qO- http://username:password@dynupdate.no-ip.com/nic/update?hostname=fqdn.host.name&myip=$IP &> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment