Cloudflare DDNS
Below is how to configure DDNS (Dynamic DNS) for Cloudflare.
Requirements
- A Cloudflare account and Cloudflare configured as your domains DNS servers
- API keys for your account with the correct permissions
- Requires
Zone.DNS:Editpermissions for the correct zone
- Requires
Enabling
In inventory/group_vars/all/cloudflare_ddns.yml:
cloudflare_api_token: the API token of the Cloudflare accountcloudflare_ddns_enabled:yesornoto enable/disable Cloudflare DDNS (default:no)cloudflare_ddns_domain: the domain name of the Cloudflare zone (e.g.example.com), this will default to thehms_docker_domaindefined in themain.ymlfilecloudflare_ddns_subdomain: the subdomain record (e.g.overseerrwould be created asoverseerr.example.com) (default:overseerr)cloudflare_ddns_proxied:'true'or'false'to enable/disable proxying the traffic through Cloudflare (default:'true')- NOTE: This value must be in quotes
cloudflare_ddns_delete_record_on_stop: If the record should be deleted when the container stops (default:"false")- NOTE: This value must be in quotes
cloudflare_ddns_create_ipv6_aaaa_record: Creates aAAAArecord for IPv6 (default:no)