# DNS Lookup (A, MX, TXT, SPF, DMARC, Mail Provider)

> DNS Lookup (A, MX, TXT, SPF, DMARC, Mail Provider) is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Performs a comprehensive DNS lookup for a domain, returning A records, MX records with priority, TXT records, inferred mail provider, and SPF/DMARC presence in a single JSON call.

## Facts

- Endpoint: GET https://intel.rallylive.ca/dns
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-lookup-a-mx-txt-spf-dmarc-mail-provider-62adf751
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qwWluSYZ1R8qlRJv9jsx9

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-lookup-a-mx-txt-spf-dmarc-mail-provider-62adf751
```

Example prompt: Can you do a full DNS lookup on stripe.com and tell me its A records, MX records, mail provider, and whether SPF and DMARC are set up?

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-record-type DNS snapshot of a domain in a single call — especially when you need A records, MX records, TXT records, mail provider inference, and SPF/DMARC presence all at once without making multiple separate DNS queries. It is ideal for domain research workflows, email deliverability audits, and infrastructure discovery tasks. Prefer it over the sibling spf-dmarc-check endpoint when you also need A and MX record data beyond just email security records.

## Known failure modes

- Invalid or non-existent domain returns empty record sets or an error response
- Domains with no MX records return empty MX array and null mail provider
- Propagation delays may cause incomplete results for recently changed DNS
- Rate limiting or payment failure returns 402 or 429 status
- Timeouts on DNS-over-HTTPS resolution for slow authoritative nameservers

## How this service works

DNS lookup for any domain in one call: A records (IPv4), MX records with priority, all TXT records, the inferred mail provider, and whether SPF and DMARC records exist. Fast DNS-over-HTTPS resolution, JSON output, no API key. Useful for domain research, email routing checks and infrastructure discovery. $0.01 per lookup.

## Output

A JSON object containing: IPv4 A records, MX records each with their priority value, all TXT records, the inferred mail provider (e.g. Google Workspace, Microsoft 365), and boolean flags indicating whether SPF and DMARC records are present.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-lookup-a-mx-txt-spf-dmarc-mail-provider-62adf751/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
