Test DNS settings for a domain

Test your domain's DNS configuration by making calls to various DNS servers. Use this to troubleshoot domain lookup issues or verify that your DNS settings are correct. The service returns a unique ID you can use to track the result later.

Query Parameters

domain string required
nameserver string required

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/dns-test
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/dns-test?domain=string&nameserver=string" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "nameserver": "string",
    "nameserverIp": "string",
    "domain": "string",
    "tests": [
      {
        "type": "string",
        "success": true,
        "responseTime": 0,
        "recordCount": 0,
        "records": [
          "string"
        ]
      }
    ],
    "averageResponseTime": 0,
    "status": "string",
    "timestamp": "string"
  }
}