Skip to content

dns_conflict

DNS conflict. HTTP status 409.

The change clashes with DNS records that already exist. Typical cases are an identical record, a CNAME sharing a name with other records, or existing records that block a redirect or a hosting domain.

What to do

Read the zone with GET /api/v2/dns-zones/{id}/records. Change or delete the record that clashes, then retry. A CNAME must be the only record at its name.

What the message says

  • A CNAME record cannot share the same name with other DNS records. Delete the conflicting record first, or choose a different name.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/dns_conflict",
"title": "DNS conflict",
"status": 409,
"detail": "A CNAME record cannot share the same name with other DNS records. Delete the conflicting record first, or choose a different name.",
"code": "dns_conflict",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it