import_dns_zone
Import DNS records from a JSON array into a Cloudflare zone. Creates each record and returns a success/failure summary, with partial failures handled individually.
Instructions
Import DNS records from a JSON array, creating each record in the zone. Returns a success/failure summary with partial failure handling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Array of DNS record objects to create | |
| zone_id | No | Cloudflare zone ID. Omit to use CLOUDFLARE_ZONE_ID env var. |