Skip to content

dns_record_proxy_blocked

DNS record proxy change blocked. HTTP status 409.

The CDN proxy setting of this DNS record cannot be changed. This has several causes: a record type other than A, AAAA or CNAME, a record that an MX record points to, a mail or webmail subdomain, a nested subdomain, a Hostup-managed record, or CDN being off for the domain.

What to do

Read detail for the exact reason. GET /api/v2/domains/{id}/dns shows the same reason in advance under actions.canChangeProxy on each record. If CDN is off, turn it on with PATCH /api/v2/domains/{id}/cdn and {“proxied”: true}; otherwise leave the proxy setting of this record as it is.

What the message says

  • Mail server records cannot be proxied because MX records depend on them.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/dns_record_proxy_blocked",
"title": "DNS record proxy change blocked",
"status": 409,
"detail": "Mail server records cannot be proxied because MX records depend on them.",
"code": "dns_record_proxy_blocked",
"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