API referenceSections

DNSRecord

DNSRecord object
  • name string required

    Relative to the zone; @ for the zone itself

  • type string required
    Allowed values: "A" "AAAA" "CNAME" "MX" "TXT" "SRV" "CAA"
  • value string required
  • ttl integer required
  • priority integer optional
  • weight integer optional
  • port integer optional
  • proxied boolean optional

    Cloudflare's proxy; A, AAAA and CNAME in Cloudflare zones only (ADR 0035)

Used by

PUT/api/v1/tenants/{tid}/dns/zones/{zid}/recordsReplace the zone's records; a served zone changes on the server first