mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
162d4ce478
* Corrected file path by removing /mnt * Update 20-zerotier.sh * Update README.md * removed /mnt directory as evertyhing is done in /data * Corrected URL * Update remote_install.sh * Auto check data dir * fixed adguard installation * More data fixes * Fix dns common data path * fixed haproxy readme |
||
---|---|---|
.. | ||
configs | ||
on_boot.d | ||
README.md |
Cloudflare Dynamic DNS
Features
- Update Multiple Subdomains
- Proxy your traffic through cloudflare
- Set a ttl
Complete feature list and documentation can be found here
Requirements
- You have successfully setup the on boot script described here
- You must have a cloudflare profile with at least one domain.
- You must have a valid cloudflare api token with correct permissions (see complete documentation for details)
Customization
Update config.json with the following options:
- your cloudflare api token
- your zone id
- each subdomain you'd like to point at your udm-pro
- Set the proxied flag if you'd like cloudflare to proxy the records
- Set the ttl value you'd like for your records
Steps
-
Make a directory for your configuration
mkdir -p /data/cloudflare-ddns
-
Create a cloudflare-ddns configuration in
/data/cloudflare-ddns
and update the configuration to meet your needs. -
Copy 30-cloudflare-ddns.sh to
/data/on_boot.d
. -
Execute /data/on_boot.d/30-cloudflare-ddns.sh
-
Execute
podman logs cloudflare-ddns
to verify the continer is running without error (ipv6 warnings are normal).
Useful commands
# view cloudflare-ddns logs to verify the continer is running without error (ipv6 warnings are normal).
podman logs cloudflare-ddns