Webhook logo
Cloudflare DNS logo

Workflow template

Update a host’s IP address from a webhook

Send an address to a private webhook to update one configured host. Repeating the same address keeps the existing DNS record.

How it works

Update a host’s IP address from a webhook

1 Trigger · 1 Action
Webhook1 · Trigger

New IP address received

Receive a JSON submission from your existing form backend at this Workflow's private webhook URL.

Cloudflare DNS2 · Action

Update the configured host address

Create an A or AAAA record or change its IP address. Repeated deliveries keep the same record.

Before activation

Set up your workflow

  1. Select the hostname

    Connect Cloudflare with Zone Read and DNS Edit for the chosen zone. Enter the full hostname in the DNS step. Use a DNS-only A or AAAA record if public lookups should return the submitted IP.

  2. Send the first address

    Copy the private webhook URL and POST JSON such as {"address":"192.0.2.10"}. Use an address you control in production. The workflow creates the record when that address family is absent.

  3. Check the change

    Send the same address twice, then send a different address of the same family. Query an authoritative nameserver for the hostname and compare its answer with the last address.

Explore connected apps

App integrations

Related links