linode · Schema

DomainRecord

Properties

Name Type Description
id integer The unique ID of this domain record.
type string The type of DNS record.
name string The hostname or FQDN for this record.
target string The target for this record.
priority integer The priority for MX and SRV records.
weight integer The weight for SRV records.
port integer The port for SRV records.
ttl_sec integer The TTL in seconds for this record.
tag string The tag for CAA records.
View JSON Schema on GitHub

JSON Schema

linode-domainrecord-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DomainRecord",
  "title": "DomainRecord",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique ID of this domain record."
    },
    "type": {
      "type": "string",
      "enum": [
        "A",
        "AAAA",
        "NS",
        "MX",
        "CNAME",
        "TXT",
        "SRV",
        "PTR",
        "CAA"
      ],
      "description": "The type of DNS record."
    },
    "name": {
      "type": "string",
      "description": "The hostname or FQDN for this record."
    },
    "target": {
      "type": "string",
      "description": "The target for this record."
    },
    "priority": {
      "type": "integer",
      "description": "The priority for MX and SRV records."
    },
    "weight": {
      "type": "integer",
      "description": "The weight for SRV records."
    },
    "port": {
      "type": "integer",
      "description": "The port for SRV records."
    },
    "ttl_sec": {
      "type": "integer",
      "description": "The TTL in seconds for this record."
    },
    "tag": {
      "type": "string",
      "description": "The tag for CAA records."
    }
  }
}