Created
November 6, 2022 15:18
-
-
Save lamoboos223/4ecfe23b101f18d23571e8d94e59a882 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
| # Get public ip address | |
| ip=$(curl https://api.ipify.org) | |
| # Update noip dns using the public ip address | |
| curl --location --request GET 'https://dynupdate.no-ip.com/nic/update?hostname=<my-dns-in-noip>&myip=$ip' \ | |
| --header 'Authorization: Basic <email:password>' |
Author
lamoboos223
commented
Sep 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment