Created
March 16, 2016 16:47
-
-
Save sneak/c5b621eb7965d4030650 to your computer and use it in GitHub Desktop.
v6 dyndns update
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
*/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