# Verify DNS record configuration (https://developer.godaddy.com/en/docs/references/rest/ans/verify-dns-records)

---
title: Verify DNS record configuration
description: Verifies that all required DNS records have been configured correctly.
full: true
---

Full description

\| Verifies that all required DNS records have been configured correctly. The RA knows which records are required based on the registration and will check for all four required records (HTTPS, TLSA, \_ans, \_ra-badge). This is the final step for external domain registration.

## POST /v1/agents/{agentId}/verify-dns

Verify DNS record configuration

Verifies that all required DNS records have been configured correctly.
The RA knows which records are required based on the registration
and will check for all four required records (HTTPS, TLSA, _ans, _ra-badge).
This is the final step for external domain registration.


### Path parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `agentId` | string | yes | Unique identifier of the agent |

### Responses

**202** — DNS verified, registration active

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/AgentStatus`

**401** — Authentication failed

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**403** — Authorization failed

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**404** — Agent not found

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**422** — DNS records not found or incorrect

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/DnsVerificationError`

**500** — Internal server error

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`
