# Get Application DNS

Source: https://coolify.io/docs/api/endpoints/dns/get-application-dns

## GET /applications/{uuid}/dns

Get Application DNS

DNS providers and managed DNS records for the domains of an application.

**Authentication:** Bearer token (`bearerAuth`)

### Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| uuid | path | yes | string | Application UUID. |

### Responses

#### 200

DNS status.

`application/json`: ResourceDnsStatus

Schema `ResourceDnsStatus`: object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| default_address | string or null | no | Address of a new record when none is given: the first public server address. Null when the server has no public address. |
| public_addresses | array of string | no |  |
| hostnames | array of object | no |  |

Fields of `hostnames`:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| hostname | string | no |  |
| providers | array of object | no |  |
| records | array of ManagedDnsRecord | no |  |

Fields of `providers`:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| integration_token_uuid | string | no |  |
| integration_token_name | string | no |  |
| zone | string | no |  |
| automatic_dns | boolean | no |  |
| proxied_dns | boolean | no |  |

Schema `ManagedDnsRecord`: object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| uuid | string | no |  |
| hostname | string | no |  |
| type | string enum "A", "AAAA" | no |  |
| address | string | no | Server IP address that the record points to. |
| owned | boolean | no | Coolify created the record, so it can delete it. |
| integration_token_uuid | string | no |  |

#### 401

Unauthenticated.

`application/json`: object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| message | string | no |  |

#### 403

No access to the application.

#### 404

Resource not found.

`application/json`: object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| message | string | no |  |
