capabilities.work

Create DNS Record and Verify

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

Recipe · 2 steps

Create DNS Record and Verify

Create a DNS record then fetch it by id to verify it persisted.

  1. Create a new DNS record in the zone using the supplied type, name, and content.
  2. Fetch the newly created DNS record by its identifier to confirm the values Cloudflare persisted.
What you'll need to have ready
  • zoneId: The unique identifier of the zone (e.g. 023e105f4ecef8ad9ca31a8372d0c353).
  • type: The DNS record type (e.g. A, AAAA, CNAME, TXT, MX).
  • name: The DNS record name (e.g. www.example.com).
  • content: The DNS record content value (e.g. an IP address or target hostname).
  • ttl: Time to live in seconds. A value of 1 indicates automatic TTL.
  • proxied: Whether the record is receiving Cloudflare proxy services.
For your developer

Arazzo workflow cloudflare:create-dns-record-and-verify, 2 operations: createDnsRecord → getDnsRecord. Specs on APIs.io.