DDNS-Cloudflare-Bash
DDNS-Cloudflare-Bash copied to clipboard
Pgotsis refactor
trafficstars
Complete refactor of the code. Basic changes:
- Split logic into functions.
- Change location of conf and logs based on root Vs. non-root user.
- Support installation of script in a standard location (such as /usr/local/bin) and still run it with logs from a standard user. Currently this is not possible as the script searches for the conf file in the script directory.
- Support of telegram topics.
- Check command dependencies.
- Use dig before nslookup for lookups.
- Add one more service for external IP detection