# DNS Records Lookup

> DNS Records Lookup is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Look up A, AAAA, MX, TXT, NS, and CNAME DNS records for any domain to support deliverability, SPF/DMARC validation, and domain configuration checks.

## Facts

- Endpoint: GET https://api.gadgethumans.com/dns-records-lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-records-lookup-03999815
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JLODtpi7144XRtUshN_aV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dns-records-lookup-03999815
```

Example prompt: Can you look up the MX and TXT DNS records for gadgethumans.com so I can check if their SPF and DMARC are configured correctly?

## When to prefer this

Use this endpoint when you need to quickly resolve one or more DNS record types for a domain without setting up your own DNS-over-HTTPS resolver. It is especially well-suited for email deliverability checks (MX, SPF/DMARC via TXT), domain ownership verification, and infrastructure validation. Prefer this over raw DNS libraries when calling from an agent or serverless context that lacks low-level network access.

## Known failure modes

- Domain does not exist — returns empty records or NXDOMAIN-equivalent response
- Invalid domain format — may return an error or empty result
- Unsupported record type specified — may default to A or return an error
- DNS resolver timeout — may return a failure or partial result
- Transient DNS propagation delay — recently changed records may not yet be visible

## How this service works

Look up DNS records for a domain: A, AAAA, MX, TXT, NS and CNAME, for deliverability, SPF/DMARC and domain checks.

## Output

Returns the requested DNS record type (or A by default) for the given domain, including record values such as IP addresses, mail server hostnames, TXT strings, nameserver names, or CNAME targets, along with a success status indicator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "Record type (default A)"
      },
      "domain": {
       "type": "string",
       "description": "Domain name"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "ok": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-records-lookup-03999815/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gadgethumans.com](https://www.zero.xyz/host/api.gadgethumans.com/llms.txt)
