# DNS_RECORD_MISSING

> For the complete documentation index, see [llms.txt](https://ensforge.com/llms.txt).

What DNS_RECORD_MISSING means, why DnsError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.

Source: https://ensforge.com/docs/reference/errors/DNS_RECORD_MISSING

<ErrorMeta errorClass="DnsError" href="/docs/reference/errors/dns-error" package="@ensforge/sdk" />

## What happened [#what-happened]

The `_ens` TXT record is missing.

## What to show users [#what-to-show-users]

| Title | Message | Action |
| --- | --- | --- |
| DNS record missing | The required DNS TXT record was not found. | Add the TXT record at your DNS provider, then retry. |

## How to fix [#how-to-fix]

Add a TXT record `_ens.<name>` with the value "a=\<owner address\>".

## Retry safety [#retry-safety]

Retrying the same call fails the same way until the cause is fixed (`retryable: false`).

## Actions that throw it [#actions-that-throw-it]

| Action | When |
| --- | --- |
| [`dns.claim`](/docs/reference/sdk/dns/claim) | when the name cannot be proven. |

## Catch it [#catch-it]

`Errors.hasCode("DNS_RECORD_MISSING")` narrows to this error. See [Handle errors](/docs/sdk/handle-errors).