---
title: "Verify Custom Domain DNS"
method: POST
path: "/whitelabel/domain/verify"
tags: ["White-label"]
---

# Verify Custom Domain DNS

`POST /whitelabel/domain/verify`

Check whether the configured custom_domain points to api.astroway.info via CNAME. Persists the result. If only A records resolve, returns them with a hint to switch to CNAME.

## Request body

- EmptyBody — This endpoint reads nothing from the request body. Send {} (or any object, which is ignored).

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `domain` string, nullable
    - `resolved` string[], nullable
    - `verified` boolean, nullable
    - `expectedTarget` string, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/529d7d36d7d6/schema)
