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.
zoneId integer · min: 1 required Example Unique zone identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string error string message string retryAfter string requestId string https://cloud.hostup.se/api/dns/zones/{zoneId}/records curl -X GET "https://cloud.hostup.se/api/dns/zones/19513/records" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"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"
}
]
}
}
}