---
title: "Get a Domain's configuration"
method: GET
path: "/v6/domains/{domain}/config"
tags: ["domains"]
---

# Get a Domain's configuration

`GET /v6/domains/{domain}/config`

Get a Domain's configuration.

## Path parameters

- `domain` string, required — The name of the domain.

## Query parameters

- `projectIdOrName` string — The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.
- `strict` 'true' | 'false' — When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone.
- `teamId` string
- `slug` string

## Response `200`

- object
  - `configuredBy` 'A' | 'CNAME' | 'dns-01' | 'http' | 'null', nullable, required — How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel.
  - `acceptedChallenges` string[], required — Which challenge types the domain can use for issuing certs.
  - `recommendedIPv4` object[], required — Recommended IPv4s for the domain. rank=1 is the preferred value(s) to use. Only using 1 ip value is acceptable.
    - `rank` number, required
    - `value` string[], required
  - `recommendedCNAME` object[], required — Recommended CNAMEs for the domain. rank=1 is the preferred value to use.
    - `rank` number, required
    - `value` string, required
  - `misconfigured` false | true, required — Whether or not the domain is configured AND we can automatically generate a TLS certificate.

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `410`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
