Check DNS settings to avoid overwrites

Check if existing DNS records will be overwritten when new settings are applied. This returns a unique ID to track the status of the DNS check in subsequent calls. Use this endpoint to ensure no critical DNS settings are lost.

Query Parameters

source_url string required
domain_name string required

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/redirects/check-dns
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/redirects/check-dns?source_url=string&domain_name=string" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "willReplace": true,
    "existingRecords": [
      "string"
    ],
    "subdomain": "string"
  }
}