# dns-txt-mail-subdomain

> dns-txt-mail-subdomain is a paid API for AI agents from dns.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Looks up TXT records for the mail.<domain> subdomain via Cloudflare DNS over HTTPS and reports existence, records, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/mail/txt?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-txt-mail-subdomain-344b1ac4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x7UR_RKOzlcEstqH4L0dW

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-txt-mail-subdomain-344b1ac4
```

Example prompt: Can you check whether mail.example.com has any TXT records and tell me what they say and their TTL?

## When to prefer this

Use this endpoint when you specifically need TXT records for the mail subdomain (mail.<domain>) of a given domain and want a quick existence check without full subdomain enumeration. Prefer it over generic DNS lookup tools when you need a targeted, cost-effective single-host TXT query resolved via Cloudflare DoH.

## Known failure modes

- Domain does not exist — returns NXDOMAIN or no records found
- mail subdomain has no TXT records — returns empty record set
- Invalid or malformed domain input — may return error or empty response
- Cloudflare DoH upstream unavailable — service may time out or return error
- Rate limiting or payment failure — request not processed

## How this service works

TXT record of mail.<domain>: looks up the mail host under the domain you give (TXT via Cloudflare DoH) and reports whether it exists, its records and TTL. Quick existence check for common hosts like mail without enumerating subdomains. $0.01 per lookup.

## Output

Returns whether the mail.<domain> subdomain exists in DNS, its TXT record values (e.g. SPF, DKIM, or other text records), and the TTL of those records, as resolved via Cloudflare DNS over HTTPS.

## 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-txt-mail-subdomain-344b1ac4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns.intel.rallylive.ca](https://www.zero.xyz/host/dns.intel.rallylive.ca/llms.txt)
