---
title: "POST /publish/dns-check"
method: POST
path: "/publish/dns-check"
tags: ["publish"]
---

# POST /publish/dns-check

`POST /publish/dns-check`

Reports whether a custom domain points at Scalar yet

## Request body

- object
  - `domain` string, required

## Response `200`

Default Response

- object
  - `status` 'verified' | 'pending' | 'misconfigured', required
  - `expected` object, required
    - `type` 'CNAME', required
    - `target` string, required
  - `found` string[], required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

- **2026-08-07** `8dff1e93bc68` — 1 info
  - api operation id `postpublishDnsCheck` removed and replaced with `postPublishDnsCheck`
- **2026-08-06** `3aaac58e615d` — 1 breaking, 2 warning, 3 info
  - the `domain` request property's minLength was increased from `0` to `1`
  - the `domain` request property's maxLength was set to `253`
  - removed the optional property `invalidRecords` from the response with the `200` status
  - added the required property `expected` to the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/scalar/apis/core/changes/publish/dns-check/post.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/2c53f2191a3e/schema)
