Skip to content

Instantly share code, notes, and snippets.

@rohityadavcloud
Created September 25, 2015 07:55
Show Gist options
  • Save rohityadavcloud/f211118c1735160acea5 to your computer and use it in GitHub Desktop.
Save rohityadavcloud/f211118c1735160acea5 to your computer and use it in GitHub Desktop.
updateddns
#!/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