Skip to content

Instantly share code, notes, and snippets.

@mbadran
Created August 3, 2010 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbadran/506207 to your computer and use it in GitHub Desktop.
Save mbadran/506207 to your computer and use it in GitHub Desktop.
update OpenDNS network IP (insecurely)
#!/bin/sh
ip=`curl -s https://secure.internode.on.net/webtools/showmyip?textonly=1`
curl -s -u <username>:<password> https://updates.opendns.com/nic/update?hostname=<network>&myip=$ip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment