GET
/api/dns/zones/{zoneId}/records/{recordId}Get a DNS record
Retrieves a specific DNS record from a zone. Use zoneId and recordId to identify the record you need to inspect.
zoneIdstringrequired
The unique identifier of the zone containing the DNS record.
recordIdstringrequired
The unique identifier of the DNS record to retrieve.
200Returns a DNS record object containing its identifier, name, type, content, and TTL.
idstringrequired
DNS record ID
contentstringrequired
DNS record content (IP address for A/AAAA, domain for CNAME)
namestringrequired
FQDN for the DNS record. Must be a subdomain within or match the zone's domain.
ttlintegerrequired
Time to live in seconds
typestringrequired
DNS record type
400Returned when the request is invalid.
401Returned when authentication is required but missing or invalid.
403Returned when access to the DNS record is forbidden.
404Returned when the zone or DNS record cannot be found.
500Returned when an internal server error occurs.
Error handling
A 400 indicates an invalid request; a 401 means authentication is required; a 403 indicates access is forbidden. A 404 is returned when either the zoneId path parameter or the recordId path parameter does not identify an available resource, and a 500 indicates an internal server error.