# DNS A Record Lookup for mail Subdomain

> DNS A Record Lookup for 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 the A record of the mail.<domain> subdomain via Cloudflare DNS over HTTPS and reports its existence, IP records, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/mail/a?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-a-record-lookup-for-mail-subdomain-20a87e4d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rrrmvyaoOJjDJCDQmnlEf

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-a-record-lookup-for-mail-subdomain-20a87e4d
```

Example prompt: Check if mail.github.com exists and what IP address it resolves to — use the mail subdomain A record lookup via Cloudflare DoH.

## When to prefer this

Use this endpoint when you need a fast, cheap existence check specifically for the mail.<domain> subdomain A record without doing a full subdomain enumeration. Prefer this over generic DNS tools when you want a targeted, pay-per-lookup query routed through Cloudflare DoH for reliability and consistency.

## Known failure modes

- Domain does not exist — returns NXDOMAIN response code with no records
- mail subdomain not configured — returns NXDOMAIN or empty answer section
- Network or DoH resolver error — may return a timeout or 5xx error
- Malformed domain input — may return an error or unexpected DNS response
- Domain exists but mail subdomain has no A record (only AAAA or CNAME) — returns empty A record answer

## How this service works

A record of mail.<domain>: looks up the mail host under the domain you give (A 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> A record exists, the resolved IP address(es), the TTL value, and the DNS response code (e.g. NOERROR or NXDOMAIN).

## 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-a-record-lookup-for-mail-subdomain-20a87e4d/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)
