Changing old server IP to new server IP on multiple Cloudflare accounts
What steps have you taken to resolve the issue?
I am in the process of upgrading my hosting server which will come with a new IP address and nameservers. However, the big issue is that each client website has it’s own Cloudflare account. Is there a way to change any Cloudflare account with a specific IP address and change it to a new IP address?
What feature, service or problem is this related to?
You could create a script that uses the Cloudflare API to loop through a list of accounts, for each account get every zone, for each zone get all the DNS records and update any that use the IP address you want to change.
For each account you’d need to have the global API key or configure an appropriate API token so whether this is worth doing depends on the how many accounts are involved.
What i meant is a proxied CNAME record to a DNS-Only A record in a different account. Would that not work? I thought cross account CNAMEs were only blocked to proxied targets, but I don’t have a second account to test it.