---
title: "Retrieves the DNS status for the specified domain on a site instance."
method: GET
path: "/site-instances/{siteId}.{environmentId}/domains/{domainName}/status"
tags: ["Domains"]
---

# Retrieves the DNS status for the specified domain on a site instance.

`GET /site-instances/{siteId}.{environmentId}/domains/{domainName}/status`

## Request

- Base URL: `https://api.acquia.com/v3`
- URL: `https://api.acquia.com/v3/site-instances/{siteId}.{environmentId}/domains/{domainName}/status`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/acquia/apis/acquia-cloud-platform-api/docs/site-instances/:siteId.:environmentId/domains/:domainName/status/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `siteId` string, required
- `environmentId` string, required
- `domainName` string, required

## Response `200`

Domain DNS status details

- object: Domain DNS status properties
  - `hostname` string, required: The domain name.
  - `site_id` string, required: Identifier of the site this domain belongs to.
  - `environment_id` string, required: Identifier of the environment this domain belongs to.
  - `ip_addresses` string[], required: List of IP addresses resolving for this domain.
  - `cnames` string[], required: List of CNAME records resolving for this domain.
  - `flags` object, required: Status flags for the domain.
    - `default` boolean, required: Whether this is the default domain.
    - `active` boolean, required: Whether the domain is active.
    - `dns_resolves` boolean, required: Whether the domain DNS resolves correctly.
    - `acquia_hosted` boolean, required: Whether the domain is hosted on Acquia infrastructure.
  - `_links` object, required: HAL links for the resource
    - `self` EnvironmentServiceAPIHalLink, required: HAL link object
      - `href` union, required: The target URI of the link (can be a URI or URI template)
        - string, uri
        - string, uri-template
      - `templated` boolean: Whether the link is a URI template
      - `type` string: Hint about the media type expected when dereferencing the target resource
      - `deprecation` string: A URL to a resource that provides deprecation information
      - `name` string: A secondary key for selecting links
      - `profile` string: A URI that hints about the profile of the target resource
      - `title` string: A human-readable identifier for the link
      - `hreflang` string: The language of the target resource
  - `_embedded` object: Embedded resources (optional)

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/acquia/apis/acquia-cloud-platform-api.md) - [All operations](https://skmtc.dev/acquia/apis/acquia-cloud-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/acquia/apis/acquia-cloud-platform-api/revisions/508f8f94456d?raw)
