K0p1-Git / cloudflare-ddns-updater

Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP! Written in pure BASH~
MIT License
1.39k stars 388 forks source link

Allow user to load variables from multiple locations #77

Open user-cube opened 9 months ago

user-cube commented 9 months ago

Changelog

  1. Convert code to functions both on IPv4 and IPv6.
  2. Allow user to load variables from local (inside the script), file (using a configuration file), pass (using linux password store) both on IPv4 and IPv6.
  3. Update IPV4 parse

I'm currently using this version to update DDNS, if you like this changes feel free to merge them. Please double check the functions for IPV6.