# Dns

7 endpoints on Dns. Every one returns the same response shape and has a flat, published price in credits.

Category: [Web tools](https://onekey.dev/docs/categories/web.md) · [Overview page](https://onekey.dev/platforms/dns)

## Endpoints

| Endpoint | What it does | Cost | Status |
| --- | --- | --- | --- |
| [`a`](https://onekey.dev/docs/api/dns/a.md) | DNS IPv4 addresses (A) of a name via DNS-over-HTTPS (Cloudflare, Google fallback). | 1 credit | stable |
| [`aaaa`](https://onekey.dev/docs/api/dns/aaaa.md) | DNS IPv6 addresses (AAAA) of a name via DNS-over-HTTPS (Cloudflare, Google fallback). | 1 credit | stable |
| [`cname`](https://onekey.dev/docs/api/dns/cname.md) | DNS canonical name (CNAME) of a name via DNS-over-HTTPS (Cloudflare, Google fallback). | 1 credit | stable |
| [`lookup`](https://onekey.dev/docs/api/dns/lookup.md) | Generic DNS lookup for any common record type via DNS-over-HTTPS. | 1 credit | stable |
| [`mx`](https://onekey.dev/docs/api/dns/mx.md) | DNS mail exchangers (MX) of a name via DNS-over-HTTPS (Cloudflare, Google fallback). | 1 credit | stable |
| [`ns`](https://onekey.dev/docs/api/dns/ns.md) | DNS name servers (NS) of a name via DNS-over-HTTPS (Cloudflare, Google fallback). | 1 credit | stable |
| [`txt`](https://onekey.dev/docs/api/dns/txt.md) | DNS TXT records (SPF, DKIM, verification) of a name via DNS-over-HTTPS (Cloudflare, Google fallback). | 1 credit | stable |

Every endpoint page has a **Field mapping** section showing which source field becomes which [unified field](https://onekey.dev/docs/schema.md) (fixed schema) or platform-specific `ext.` field.
