Skip to content

Instantly share code, notes, and snippets.

@sneak
Created March 16, 2016 16:47
Show Gist options
  • Save sneak/c5b621eb7965d4030650 to your computer and use it in GitHub Desktop.
Save sneak/c5b621eb7965d4030650 to your computer and use it in GitHub Desktop.
v6 dyndns update
*/5 * * * * curl -fsSL https://freedns.afraid.org/dynamic/update.php?$TOKEN\&address=$(ip -6 addr show | grep global | sort | head -1 | colrm 1 10 | awk -F/ '{print $1}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment