Cloudflare · Schema

DnsRecordInput

AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb Performance

Properties

Name Type Description
name string The DNS record name, e.g. example.com.
content string The DNS record content value.
ttl integer Time to live in seconds. A value of 1 indicates automatic TTL.
priority integer Required for MX, SRV, and URI records. Record priority.
proxied boolean Whether the record is receiving Cloudflare proxy services.
comment string A comment about the DNS record.
tags array Custom tags for the DNS record.
View JSON Schema on GitHub

JSON Schema

cloudflare-dns-dns-record-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DnsRecordInput",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The DNS record name, e.g. example.com."
    },
    "content": {
      "type": "string",
      "description": "The DNS record content value."
    },
    "ttl": {
      "type": "integer",
      "description": "Time to live in seconds. A value of 1 indicates automatic TTL."
    },
    "priority": {
      "type": "integer",
      "description": "Required for MX, SRV, and URI records. Record priority."
    },
    "proxied": {
      "type": "boolean",
      "description": "Whether the record is receiving Cloudflare proxy services."
    },
    "comment": {
      "type": "string",
      "description": "A comment about the DNS record."
    },
    "tags": {
      "type": "array",
      "description": "Custom tags for the DNS record."
    }
  }
}