Get DNS records for a specific domain zone

View all DNS records (like A, MX, TXT) associated with a specific domain. This is useful for troubleshooting connection issues or verifying your DNS configuration. The endpoint returns an ID that may be needed for subsequent DNS management actions.

Path Parameters

zoneId integer · min: 1 required Example

Unique zone identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
404
error string
message string
code string
timestamp string
requestId string
429
error string
message string
retryAfter string
requestId string
GET https://cloud.hostup.se/api/dns/zones/{zoneId}/records
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/dns/zones/19513/records" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "zone": {
      "id": "string",
      "domain": "string",
      "records": [
        {
          "id": 0,
          "type": "string",
          "name": "string",
          "value": "string",
          "ttl": 0,
          "status": "string",
          "created": "string"
        }
      ]
    }
  }
}