Skip to content

Instantly share code, notes, and snippets.

@rhtyd rhtyd/updateddns.sh
Created Sep 25, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.