# dns

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

List the 6 dns actions of @ensforge/sdk and whether each reads, writes or signs. Covers claim, getOffchainResolver, getProof, getRecords, getStatus, setRecords.

Source: https://ensforge.com/docs/reference/sdk/dns

<ApiMeta summary="6 actions · 4 reads · 2 writes" since="1.0.0" source="packages/sdk/src/actions/dns" />

Call them as `ens.dns.<action>(options)` on a client, or `Actions.dns.<action>(client, options)`.

## Reads [#reads]

| Action | Description |
| --- | --- |
| [`getOffchainResolver`](/docs/reference/sdk/dns/get-offchain-resolver) (batchable) | Reads the gasless DNS resolver a DNS name sets in an `ENS1` TXT record. |
| [`getProof`](/docs/reference/sdk/dns/get-proof) (batchable) | Fetches the DNSSEC proof of a DNS name's `_ens` TXT record. |
| [`getRecords`](/docs/reference/sdk/dns/get-records) (batchable) | Reads DNS records and the zonehash a name stores on its resolver. |
| [`getStatus`](/docs/reference/sdk/dns/get-status) (batchable) | Reads whether a DNS name is imported into ENS, and what it needs to be. |

## Writes [#writes]

| Action | Description |
| --- | --- |
| [`claim`](/docs/reference/sdk/dns/claim) | Imports a DNS name into ENS with a DNSSEC proof of its `_ens` TXT record. |
| [`setRecords`](/docs/reference/sdk/dns/set-records) | Sets DNS records or the zonehash of a name on its public resolver. |