Age | Commit message (Collapse) | Author |
|
Prevent the progress from getting printed from curl.
Note: This seems like some platforms don't like it - we can try
redirecting whatever log it writes to to /dev/null
|
|
SH doesn't have source apparently and I missed a -e
|
|
This script will:
1. take in a domain and a config path
2. fetch your domains current IP using dig
3. fetch your server IP using ipinfo.io/ip (via curl)
4. then if there is a mismatch it will:
4.1. fetch your DNS A Record for that API from the API
4.2. POST an update for that DNS record with the new IP from the API
5. else print that things are successful
The porkbun APIs denoted here: https://porkbun.com/api/json/v3/documentation
|
|
|