Request for assistance: Automating IP address updates in Cloudflare DNS

“Is there a way to automatically update the IP address in the DNS section of Cloudflare? For example, I have a server with 4 IP addresses, and I want each IP to be updated every 6 hours in Cloudflare without manually entering them. Is there a method to achieve this?”

Use the API…

1 Like

If you list the DNS records using a Query String for Name and Type, you’ll get the IDs for the records you want to maintain:

Then four API calls to update each of those four entries. Honestly, I don’t know the difference between SJR’s PUT request and this PATCH request:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.