Last active
February 11, 2021 04:29
-
-
Save wintersolutions/2b4ef3a898516504bee210cb1112da13 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env bash | |
ip=$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1) | |
/usr/bin/wget -qO- "https://www.ddnss.de/upd.php?key=API_KEY&host=HOST&ip=$ip" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment