Use dynamic IP addresses
Most Internet service providers and some hosting providers dynamically update their customer’s IP addresses. These customers must then update the new origin server IPs in their Cloudflare DNS.
Create a script to monitor IP address changes and then have that script push changes to the Cloudflare API.
ddclient is a third-party Perl client used to update dynamic DNS entries for accounts on various DNS providers.
DNS-O-Matic is a third-party tool that announces dynamic IP changes to multiple services.
Configuration of DNS-O-Matic requires the following information:
<CLOUDFLARE ACCOUNT EMAIL ADDRESS> (associated account must have sufficient privileges to manage DNS)
- API Token:
<CLOUDFLARE GLOBAL API KEY> (for details refer to API Keys)
- Hostname: dynamic