Cloudflare · Schema

Cloudflare DNS Record

A DNS record object from the Cloudflare API, representing a single DNS record entry within a zone. Supports all standard record types including A, AAAA, CNAME, MX, TXT, SRV, and more.

AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb Performance

Properties

Name Type Description
id string The unique identifier of the DNS record.
zone_id string The zone identifier this record belongs to.
zone_name string The domain name of the zone.
type string The type of DNS record.
name string The DNS record name (fully qualified domain name).
content string The value of the DNS record. Content format depends on the record type.
ttl integer Time to live in seconds. A value of 1 indicates automatic TTL managed by Cloudflare.
priority integer Record priority, required for MX, SRV, and URI record types.
proxied boolean Whether the record is receiving the performance and security benefits of Cloudflare's proxy.
proxiable boolean Whether the record can be proxied through Cloudflare.
locked boolean Whether the record is locked and cannot be modified.
comment string A comment about the DNS record for documentation purposes.
tags array Custom tags for categorizing and filtering DNS records.
data object Structured data for record types that require additional fields (SRV, CAA, SSHFP, etc.).
meta object Extra Cloudflare-specific metadata about the record.
created_on string When the record was created.
modified_on string When the record was last modified.
View JSON Schema on GitHub