Partner Portal API - Domains and DNS (private stack)
Provision custom domains and manage DNS records of your Instance on a private stack programmatically using the Cloudflare-based Domains / DNS API of its Partner Portal.
Note
This page applies to Instances hosted on a private stack, where DNS is backed by Cloudflare and the API is served by the Partner Portal of that stack. Instances on the shared, multi-tenant stack managed through partners.platformos.com use the AWS-based DNS service documented on Domains and DNS (shared stack).
The Domains / DNS API provisions customer domains onto private stack infrastructure, which is backed by Cloudflare. This page is the contract integrators build against. For the other Partner Portal endpoints (Instances, Partners, Modules, Billing) see the Partner Portal API reference. If you prefer to configure domains manually through the Partner Portal UI, follow the guides for a custom domain using the platformOS DNS service or a custom domain using an external DNS service.
All endpoints live under [[PORTAL_URL]]/api, where [[PORTAL_URL]] is the URL of the Partner Portal that manages your private stack, for example https://portal.example.com.
Authentication and authorization
Every endpoint accepts any of the following bearer tokens in the Authorization header, checked in this order:
- OAuth 2 access token
- JWT obtained from
POST /api/authenticate(see the Partner Portal API reference) - User token from your Partner Portal profile
Authorization: Bearer [[TOKEN]]
The acting user must have write access to the Instance identified by instance_uuid. This currently applies to all endpoints, including the read-only ones (see Known limitations).
Variables used in examples
| variable | description |
|---|---|
[[PORTAL_URL]] |
URL of the Partner Portal managing your private stack, for example https://portal.example.com |
[[TOKEN]] |
OAuth 2 access token, JWT or user token |
[[UUID]] |
UUID of the production Instance |
[[DOMAIN_NAME]] |
the domain, for example example.com |
Concepts
setup_type
Defines how the domain is wired:
domain-full: platformOS owns the Cloudflare DNS zone. The only thing the customer has to do is delegate the name servers at their registrar. All DNS records are managed through this API. The name must be a registrable root domain (example.com, notsub.example.com), because Cloudflare rejects subdomain zones (Cloudflare error 1116).domain-external: the customer keeps their current DNS provider and adds the records this API tells them to: a routingCNAME/ALIASorArecord plus_acme-challengevalidationCNAMErecords.
extra_dns_records
Customer DNS records that platformOS manages inside a domain-full zone: MX, TXT (SPF, DKIM), service CNAMEs, SRV, and so on.
www redirect
When enable_www_redirect is on, www.[[DOMAIN_NAME]] is the canonical host and the apex domain redirects to it: with a 301 served by the Cloudflare zone for domain-full, with a 302 served by the platform for domain-external. Enabling it provisions a second custom hostname for www.
Asynchronous processing
One DnsProvision record per domain tracks the desired state (config) and the lifecycle (status). All mutations are asynchronous: the API persists your intent, enqueues a worker, and returns immediately. Poll the status endpoint afterwards.
The Partner Portal also re-reads the status of every domain that is not ready from Cloudflare on its own: every minute during the first hour after the domain was added, every 15 minutes after that. Polling picks up the changes without a refresh call.
Existing zones are adopted
For domain-full, the apply first looks for a zone of that name in the Cloudflare account of the stack. If one exists, it is adopted: the domain is bound to it as it is, and only when no such zone exists is a new one created. This is what happens for a domain registered through Cloudflare Registrar in that account, whose zone has to live there, and for any zone created by hand before the domain was added.
In an adopted zone the apply writes only its own records: the routing record at the apex, the www record, the _acme-challenge delegation record for certificate validation, and the records you send in extra_dns_records. Everything else in the zone is left alone, and the zone is never deleted, see DELETE /api/domains/:name.
Routing-only domains
POST /api/tasks/instance/set-domains, the generic command endpoint, replaces the list of hostnames the Instance answers to and sets routing only. A name added that way gets no DNS zone, no custom hostname and no certificate: GET /api/domains/status returns status: "" and details: null for it, and the Partner Portal lists it as "Routing only" with view and delete. To add a domain whose DNS and certificate the Portal manages, use POST /api/domains with a setup_type. DELETE /api/domains/:name removes a routing-only domain too, together with its www. sibling, as does sending set-domains again without the name.
GET /api/domains
Lists all domains of the Instance together with their full status payloads.
curl -H "Authorization: Bearer [[TOKEN]]" \
"[[PORTAL_URL]]/api/domains?instance_uuid=[[UUID]]&version=2"
| query parameter | description |
|---|---|
instance_uuid |
required |
version |
send 2 to get all records. Without it the legacy shape is returned: identical, except the auto-added www CNAME record is filtered out of attributes.config.extra_dns_records and details.extra_dns_records |
New integrations should always send version=2.
GET /api/domains/status
Returns the status payload of a single domain. The name query parameter selects the domain. Returns 404 with {"errors":"Domain not found"} for unknown names.
curl -H "Authorization: Bearer [[TOKEN]]" \
"[[PORTAL_URL]]/api/domains/status?instance_uuid=[[UUID]]&name=[[DOMAIN_NAME]]&version=2"
| query parameter | description |
|---|---|
instance_uuid |
required |
name |
required, the domain name |
version |
see GET /api/domains |
Status payload
Both GET /api/domains and GET /api/domains/status return this shape per domain:
{
"status": "ready",
"substatus": null,
"locked": false,
"has_pending": false,
"last_operation_status": {
"operation": "apply",
"status": "success",
"message": ["apply completed"],
"requested_at": "2026-07-28T09:12:44Z"
},
"www_redirect": { "enabled": true },
"attributes": {
"domain_name": "example.com",
"instance_uuid": "[[UUID]]",
"setup_type": "domain-full",
"data_center": "ps-platformos.com",
"config": {
"enable_www_redirect": true,
"extra_dns_records": [
{ "name": "mail", "type": "MX", "ttl": 3600, "records": ["10 mail.example.com"] },
{ "name": "www", "type": "CNAME", "ttl": 3600, "records": ["example.com"] }
],
"_domains": [
{ "name": "example.com", "redirect_code": 302, "redirect_to": "https://www.example.com", "use_as_default": false },
{ "name": "www.example.com", "redirect_code": null, "redirect_to": null, "use_as_default": true }
]
}
},
"details": {
"status": "ready",
"zone_status": "active",
"hostname_status": "active",
"dns_zone_name_servers": ["ns1.example-dns.com", "ns2.example-dns.com"],
"dns_verification_records": [
{
"resource_record_name": "_acme-challenge.example.com",
"resource_record_type": "CNAME",
"resource_record_value": "example.com.1a2b3c4d.dcv.cloudflare.com"
}
],
"private_lb_cname": "cname.ps-platformos.com",
"_lb_dns_name": "lb-123456.us-east-1.elb.amazonaws.com",
"lb_public_ip": "203.0.113.10",
"extra_dns_records": [
{ "name": "mail", "type": "MX", "ttl": 3600, "fqdn": "mail.example.com", "proxied": false, "id": ["a1b2c3"], "records": ["10 mail.example.com"] },
{ "name": "www", "type": "CNAME", "ttl": 1, "fqdn": "www.example.com", "proxied": true, "id": ["d4e5f6"], "records": ["example.com"] }
]
}
}
Status payload fields
| field | description |
|---|---|
status |
lifecycle status of the domain, see Status lifecycle. An empty string means the entry exists but was never provisioned: a www. sibling row or a routing-only domain |
substatus |
additive detail: ssl_validation_pending or null |
locked |
true while a worker job is running for this domain |
has_pending |
true when some desired record is not live yet |
last_operation_status |
the last operation: operation, status, message (array) and requested_at |
www_redirect.enabled |
true if the apex domain redirects to www |
attributes |
the desired state: domain_name, instance_uuid, setup_type, data_center and config |
attributes.config.extra_dns_records |
the managed records you requested |
attributes.config.enable_www_redirect |
the requested www redirect setting |
attributes.config._domains |
the domain entries of the Instance with their redirect and use_as_default settings |
details |
the observed state in the DNS system. null until the first provisioning run, and always null for a routing-only domain |
details.zone_status |
Cloudflare zone status (domain-full) |
details.hostname_status |
status of the certificate of the Cloudflare custom hostname, for example pending_validation or active |
details.dns_zone_name_servers |
domain-full: the name server pair the customer has to delegate to |
details.dns_verification_records |
the records the customer must create at their DNS provider to prove ownership (domain-external) |
details.private_lb_cname |
domain-external: the routing target for the CNAME/ALIAS record |
details._lb_dns_name |
the AWS load balancer name, usable as an ALIAS target in Route 53 |
details.lb_public_ip |
the A record fallback for an apex that cannot use ALIAS |
details.extra_dns_records |
the live managed records with their fqdn, Cloudflare id, records values and proxied flag |
Note
TXT values in details.extra_dns_records[].records may come back wrapped in double quotes, for example "\"v=spf1 ...\"". This is the canonical form Cloudflare stores. Treat quoted and unquoted values as equal.
Note
For entries that were never provisioned, such as the www. sibling rows, attributes omits setup_type and data_center entirely. Guard on key presence, not on null.
POST /api/domains
Creates a domain or updates an existing one. The endpoint works like an upsert keyed by name: if the domain exists it is updated, otherwise it is created.
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer [[TOKEN]]" \
-d '{
"instance_uuid": "[[UUID]]",
"name": "example.com",
"setup_type": "domain-full",
"use_as_default": true,
"enable_www_redirect": true,
"extra_dns_records": [
{ "name": "mail", "type": "MX", "ttl": 3600, "records": ["10 mail.example.com"] },
{ "name": "", "type": "TXT", "ttl": 300, "records": ["v=spf1 include:_spf.example.com ~all"] }
],
"confirm_destructive": false
}' \
"[[PORTAL_URL]]/api/domains"
Request parameters
| parameter | type | description |
|---|---|---|
instance_uuid |
string, required | UUID of the production Instance |
name |
string, required | the domain name. Lowercased server-side |
setup_type |
string, required | domain-full or domain-external, see Concepts |
use_as_default |
boolean | make this the default domain of the Instance |
enable_www_redirect |
boolean, optional | redirect the apex to www. For an existing domain, omitting it preserves the current setting. When true, a www CNAME record pointing at the apex is added to the submitted record set if it is missing |
extra_dns_records |
array, optional | the complete set of managed records for a domain-full zone, see below |
confirm_destructive |
boolean, optional | must be true to let a bulk deletion of managed records through, see below |
Each entry of extra_dns_records is an object:
| field | description |
|---|---|
name |
record name without the root domain, lowercase [a-z0-9_.-]. Blank or @ means the apex |
type |
one of A, TXT, ALIAS, CNAME, MX, PTR, SRV, SPF, NS |
ttl |
required, TTL in seconds |
records |
array of values. CNAME and ALIAS accept exactly one value. MX values are "<priority> <host>". SRV values are "<priority> <weight> <port> <target>". Surrounding double quotes are stripped on input |
proxied |
optional boolean, request a Cloudflare-proxied record, see below |
extra_dns_records is the full desired state
Important
extra_dns_records is full state, not a patch. The submitted array replaces the stored set and records absent from it are deleted from the zone on the next apply. Omitting the key entirely is treated as an empty array, which is a delete-all intent that the destructive guard will block. Always send the complete desired set.
Read the current set from attributes.config.extra_dns_records in the status payload, modify it, and send it back whole. Only flag-only updates, such as toggling enable_www_redirect, skip the record reconciliation.
Records that already exist in the zone
This matters for an adopted zone that already carries records. A submitted record that collides with one already in the zone, same name and type for A, AAAA and CNAME, or an identical value for TXT and NS, is taken over: the existing record is updated to the submitted value and is managed by the Portal from then on, which includes being removed on delete. A TXT record whose value differs from the existing one at the same name does not collide and is created next to it.
Important
For a zone that already carries mail records, leave MX, SPF and DMARC out of extra_dns_records unless you want the Portal to own them. Re-sending an existing record hands it to the Portal and a later delete removes it; sending an SPF record whose text differs from the existing one creates a second SPF record, which makes SPF validation fail.
Destructive change guard
A payload whose diff would delete all managed records, 5 or more records at once, or more than half of the set is rejected with 422 and nothing is persisted:
{
"errors": ["Destructive DNS change blocked: ... would delete: ..."]
}
The message lists the records that would be deleted. If the deletion is intentional, re-send the same payload with "confirm_destructive": true.
Validation errors
Invalid payloads return 422 with per-record errors:
{
"errors": {
"base": {},
"dns_records": [{}]
}
}
base holds errors about the domain itself and dns_records holds one object per submitted record, in the same order as the request.
proxied records
Set proxied: true on a record to request an orange-cloud, Cloudflare-proxied record. A typical use is a subdomain inside a domain-full zone that hosts another site set up as an external domain.
- Only valid on
A,CNAMEandALIASrecords. Other types return422, because proxying DNS-consumed record types is meaningless. - Cloudflare forces the TTL of proxied records to auto (
1). The submittedttlis ignored while the record is proxied. - Only proxy records whose traffic is HTTP(S) and whose target is reachable through Cloudflare. Proxying a target that lives in another Cloudflare account can produce Cloudflare error 1014.
CNAMErecords that chain into the platform entry point (thewwwrecord and any record pointing at the zone apex) are proxied automatically, regardless of this flag. An explicitfalsedoes not override that. This keeps resolution working on Android system DNS clients, see Changelog.details.extra_dns_records[].proxiedreflects the live proxy status.
Responses
| status | meaning |
|---|---|
200 |
the request was accepted. The body contains the provision snapshot under data (status, attributes.config, locked and so on), a message, and echoes your payload under requested. Provisioning continues asynchronously, poll GET /api/domains/status |
409 |
the domain is currently being deleted. Retry shortly |
422 |
validation error or destructive change blocked, see above |
POST /api/domains/:name/refresh
Forces Cloudflare to re-attempt ownership and SSL validation, which clears the Cloudflare retry backoff. Call it after the customer has added the requested DNS records.
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer [[TOKEN]]" \
-d '{"instance_uuid": "[[UUID]]", "name": "[[DOMAIN_NAME]]"}' \
"[[PORTAL_URL]]/api/domains/[[DOMAIN_NAME]]/refresh"
| status | meaning |
|---|---|
200 |
returns the current status payload under data immediately. The re-check runs asynchronously. Also returned while a job is running for the domain: the re-check runs once that job is done |
409 |
the domain has no provision yet, or it is being deleted: a re-check would overwrite the destroying status |
Cooldown
Cloudflare is asked to re-check a domain at most once every 15 minutes. A refresh within that window still answers 200 and still refreshes the stored status, but does not call Cloudflare. Its last_operation_status.message says so and gives the time from which Cloudflare can be asked again, for example:
reset_validation skipped: Cloudflare was asked to re-check this domain at 02:43 UTC; it can be asked again from 02:58 UTC. Status refreshed.
Important
Call refresh once, after the customer has added the DNS records, not on a timer. Repeated re-checks do not speed up validation: a burst of them once got the certificate order of a pending domain torn down. Cloudflare keeps retrying validation on its own, and the Partner Portal re-reads the status of every domain that is not ready, every minute during its first hour and every 15 minutes after that.
A re-check of a certificate order that Cloudflare has given up on or removed, details.hostname_status of validation_timed_out, expired, deactivated or deleted, starts a new order.
DELETE /api/domains/:name
Tears the domain down asynchronously and removes the domain and its www. sibling from the Instance configuration. No confirmation flag is required.
curl -X DELETE -H "Authorization: Bearer [[TOKEN]]" \
"[[PORTAL_URL]]/api/domains/[[DOMAIN_NAME]]?instance_uuid=[[UUID]]&name=[[DOMAIN_NAME]]"
| query parameter | description |
|---|---|
instance_uuid |
required |
name |
required, the domain name. It selects the domain: the :name path segment is not read, and without this parameter the answer is 404 with {"errors":"Domain not found"} |
The response contains data.status set to destroying.
What a delete removes and keeps
In every case the custom hostnames are removed and the records the Portal manages are deleted: the records it created from extra_dns_records, the records it took over, the routing record at the apex, the www record, the _acme-challenge delegation record and its own apex-to-www redirect rule.
What happens to a domain-full zone depends on who created it:
- A zone the apply created is deleted.
- A zone that already existed in the Cloudflare account when the domain was set up is kept, whatever the registrar. The records above are stripped out of it; the records and redirect rules that were there before are untouched, and so are the zone settings the apply turned on. The Portal decides from its own record of whether it created the zone, with the creation date of the zone as a backstop for domains set up before that record existed.
- A zone that is already gone is skipped.
A domain registered through Cloudflare Registrar always falls under the second case: its zone has to stay in the registering account and Cloudflare refuses to delete it (error 1315). There is no separate call to detach a domain while leaving its zone; for a pre-existing zone, DELETE is effectively that.
Failed teardown
A teardown that fails leaves the domain at destroying. last_operation_status carries the error (operation: "destroy", status: "failed"), the Partner Portal shows it on the domain, and a repeat DELETE retries. While a domain is destroying, POST /api/domains for that name and POST /api/domains/:name/refresh answer 409, since either would overwrite the status and leave a failed teardown looking healthy.
Removed endpoints
GET /api/domains/request_logwas removed in July 2026 together with the legacy DNS service and now returns404. Operation history is available throughlast_operation_statusin the status payload.
Status lifecycle
| status | meaning | what to do |
|---|---|---|
"" (empty string) |
the entry exists but was never provisioned: www. sibling rows, routing-only domains |
skip these when iterating |
initializing |
provisioning has started | wait |
reparking_domain |
domain-full only: waiting for the name server delegation |
have the customer delegate the domain to details.dns_zone_name_servers at their registrar |
ownership_verification_pending |
waiting for ownership validation | have the customer create the records from details.dns_verification_records and the routing records, then call POST /api/domains/:name/refresh once |
ownership_verification_pending with substatus: ssl_validation_pending |
ownership is verified, the certificate is still being issued | wait |
ready |
the domain is live | nothing |
destroying |
the domain is being torn down | wait, the entry disappears when done. If it stays, last_operation_status says why and a repeat DELETE retries, see Failed teardown |
not_found, unknown, validation_timed_out |
attention needed | verify the records at the DNS provider, call refresh, and contact support if it does not recover |
Poll with backoff. The transitions depend on DNS changes made by the customer and on Cloudflare validation, so there is no upper bound on how long a domain stays pending. Surface details.dns_verification_records and the routing records to the customer while the domain is pending.
What the customer must configure
domain-full
Delegate the name servers at the registrar to the pair in details.dns_zone_name_servers. Nothing else is needed: all records are managed through this API.
domain-external, provider supports ALIAS or CNAME flattening at the apex
| name | type | value |
|---|---|---|
[[DOMAIN_NAME]] |
ALIAS or flattened CNAME |
details.private_lb_cname |
www.[[DOMAIN_NAME]] |
CNAME |
details.private_lb_cname |
_acme-challenge.[[DOMAIN_NAME]] |
CNAME |
from details.dns_verification_records |
_acme-challenge.www.[[DOMAIN_NAME]] |
CNAME |
from details.dns_verification_records |
domain-external, A record only provider (apex cannot reach Cloudflare)
| name | type | value |
|---|---|---|
[[DOMAIN_NAME]] |
A |
details.lb_public_ip |
www.[[DOMAIN_NAME]] |
CNAME |
details.private_lb_cname |
_acme-challenge.www.[[DOMAIN_NAME]] |
CNAME |
from details.dns_verification_records |
In this variant the load balancer redirects the apex to www over plain HTTP, and HTTPS is served on www only.
Important
Always read the routing target from details.private_lb_cname instead of hard-coding it. Since July 2026 the target is cname.. The previous _fallback. target keeps resolving, but domains still pointing at it fail on Android system DNS clients. Repoint them.
Quickstart: onboarding flow
The example below onboards a domain-external domain with the www redirect. Set TOKEN and UUID first, and replace [[PORTAL_URL]] with the URL of your Partner Portal.
BASE=[[PORTAL_URL]]/api # the Partner Portal of your private stack
AUTH="Authorization: Bearer $TOKEN"
# 1. Create the domain
curl -X POST "$BASE/domains" -H "$AUTH" -H 'Content-Type: application/json' -d '{
"instance_uuid": "'$UUID'", "name": "customer.com",
"setup_type": "domain-external", "use_as_default": true,
"enable_www_redirect": true }'
# 2. Read what the customer must configure
curl "$BASE/domains/status?instance_uuid=$UUID&name=customer.com&version=2" -H "$AUTH" \
| jq '.details | {private_lb_cname, lb_public_ip, dns_verification_records}'
# 3. The customer adds the records at their DNS provider (see the tables above)
# 4. Nudge validation once the records are in place (once, not on a timer)
curl -X POST "$BASE/domains/customer.com/refresh" -H "$AUTH" -H 'Content-Type: application/json' \
-d '{"instance_uuid": "'$UUID'", "name": "customer.com"}'
# 5. Poll until ready
curl "$BASE/domains/status?instance_uuid=$UUID&name=customer.com&version=2" -H "$AUTH" | jq .status
# "ownership_verification_pending" (with substatus "ssl_validation_pending") then "ready"
# 6. Tear down when no longer needed
curl -X DELETE "$BASE/domains/customer.com?instance_uuid=$UUID&name=customer.com" -H "$AUTH"
For domain-full the flow is the same with "setup_type": "domain-full" and a registrable root domain. Steps 2 and 3 become "delegate the name servers to details.dns_zone_name_servers", and extra_dns_records carries the mail and service records of the customer.
Changelog
November 2026
- New domains show
readysooner. A domain added within the last hour has its status re-read from Cloudflare every minute instead of every 15 minutes, so it typically showsreadywithin a minute or two of Cloudflare finishing it. A domain older than an hour that is not ready is still re-read every 15 minutes. See Asynchronous processing. - Refresh cooldown.
POST /api/domains/:name/refreshasks Cloudflare to re-check a domain at most once every 15 minutes. A refresh within that window still answers200and refreshes the status, andlast_operation_status.messagesays it was skipped. See Cooldown. - A deleted certificate order recovers. A re-check of a domain whose certificate order Cloudflare has deleted starts a new order. Previously the domain stayed pending until the order was renewed by hand in Cloudflare.
DELETEexamples corrected.DELETE /api/domains/:namehas always required thenamequery parameter; the examples on this page left it out and got404. The API itself did not change.
October 2026
- Existing zones are kept on delete. A
domain-fullzone that already existed in the Cloudflare account when the domain was set up, a Cloudflare Registrar domain above all, is no longer deleted. The Portal's records are stripped out of it and the customer's own records and redirect rules stay. Previously such a delete failed on the zone (Cloudflare error 1315 for Registrar domains) and left the domain stuck atdestroying. See DELETE /api/domains/:name. - Failed teardowns are visible. A domain whose teardown failed stays at
destroyingwith the error inlast_operation_status; a repeatDELETEretries.POST /api/domainsandPOST /api/domains/:name/refreshanswer409for a domain that is being deleted. - Routing-only domains. A name added with
POST /api/tasks/instance/set-domainsis listed in the Partner Portal as "Routing only", with view and delete and a page that offers the DNS setup. See Routing-only domains. - Apex routing record. The apex record the apply writes into a new
domain-fullzone points atcname.<parent zone>, the same labeldetails.private_lb_cnamehands out. Existing zones are not rewritten; both labels route identically. - No changes while a job is running. While a DNS job holds a domain, the Partner Portal hides the configuration form, the validation re-check, the admin refresh and the delete button on the domain's page, and a delete request is refused. Previously a delete clicked during an apply removed the domain from routing while the job skipped the teardown.
- "Delete DNS Zone" button restored. The button on a domain's page in the Partner Portal had not rendered since the inline DNS rewrite, leaving only the superadmin link.
- Opening the
www.entry of a domain. Opening thewww.entry directly in the Partner Portal showed a "not provisioned" page whose setup links and delete acted on the live domain. It now opens the domain's own page. - Customer domains containing the stack's host name. A customer domain whose name merely contained the stack's host name, such as
my-example-stack.comon a stack atexample-stack.com, was shown as the system domain with no view and no delete. The check is now exact.
July 2026
GET /api/domains/request_logremoved. It returns404. Uselast_operation_statusin the status payload instead.- Destructive change guard. Payloads that would bulk-delete managed records now return
422with the list of records that would be deleted. Intentional clears must send"confirm_destructive": true. Previously such payloads executed silently. - TXT values in canonical quoted form. TXT records are stored and echoed the way Cloudflare stores them, wrapped in double quotes. Treat quoted and unquoted values as equal.
substatusfield added (additive).ssl_validation_pendingdistinguishes "ownership verified, certificate pending" withinownership_verification_pending.proxiedflag onextra_dns_records(optional, additive), see thePOST /api/domainssection.details.extra_dns_recordsnow includes the live proxy status.- Routing target renamed.
private_lb_cnamenow returnscname.<parent zone>instead of_fallback.<parent zone>. The Android system resolver rejects DNS names containing underscore labels anywhere in a CNAME answer chain, so a customer domain chained through_fallback.*fails to resolve for Android visitors using system DNS, while working on desktop, iOS and any browser using DNS over HTTPS. The legacy target keeps resolving indefinitely, but is no longer issued to new setups. Existing external domains still pointing at it remain affected on Android until the customer repoints the CNAME at their DNS provider. Both targets route identically on the platform side. - Managed-zone CNAMEs chaining into the platform are proxied automatically. In
domain-fullzones, thewwwrecord and any record pointing at the zone apex are now Cloudflare-proxied (TTL auto). Proxied records are flattened at the edge, so resolvers receive directAanswers and never see the chain. DNS answers forwww.[[DOMAIN_NAME]]changed shape, serving is unchanged. These records are re-proxied on every apply and cannot be switched off. POST /api/domains/:name/refreshadded, see above.- One-time configuration convergence. The fleet-wide apply on 2026-07-27 also brought live any records that were configured in the Partner Portal but had never propagated. If a customer reports a subdomain or DKIM record changing on that date, check
last_operation_statusbefore treating it as an error: the recorded configuration simply took effect. - Planned, not yet live: a
409conflict response for concurrent domain-list updates. Clients should already treat409as retryable.
Earlier changes
- 2024-01-18: API versioning. The management of
wwwrecords changed, but the API stayed backward compatible: thewwwCNAMErecord is hidden from responses by default. Sendversion=2to receive all records. - 2023-11-20: the www redirect became optional, see
enable_www_redirect.
Known limitations
These are tracked and will change. Do not rely on them:
- The read endpoints (
GET /api/domainsandGET /api/domains/status) currently require write access to the Instance. POST /api/domainstreatsextra_dns_recordsas full state, while the DNS editor in the Partner Portal UI merges changes into the existing set. Aligning the two behaviors is planned.