capabilities.work

Provision Zone with DNS

A 3-step recipe with Cloudflare. We can help you get access.

Recipe · 3 steps

Provision Zone with DNS

Create a zone, seed it with a DNS record, and read the zone back.

  1. Create a new full zone for the domain under the supplied account.
  2. Add an initial DNS record to the newly created zone.
  3. Read the zone details back to capture name servers and status.
What you'll need to have ready
  • accountId: The account identifier that will own the new zone.
  • zoneName: The domain name for the new zone (e.g. example.com).
  • recordType: The DNS record type to seed (e.g. A, CNAME).
  • recordName: The DNS record name to seed (e.g. example.com or www.example.com).
  • recordContent: The DNS record content value (e.g. an IP address or target).
For your developer

Arazzo workflow cloudflare:provision-zone-with-dns, 3 operations: zones-post → dns-records-for-a-zone-create-dns-record → zones-0-get. Specs on APIs.io.