# dns-cname-mx2-subdomain

> dns-cname-mx2-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-20).

Looks up the CNAME record of the mx2 subdomain under a given domain via Cloudflare DNS over HTTPS and returns whether it exists, its records, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/mx2/cname?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-cname-mx2-subdomain-9f96be94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uib4Cw_ljPiHHfyYkda76

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-cname-mx2-subdomain-9f96be94
```

Example prompt: Can you check if mx2.rallylive.ca has a CNAME record configured — I want to know if it exists and what it points to?

## When to prefer this

Use this endpoint when you need a quick, targeted CNAME existence check for the mx2 subdomain specifically, without enumerating all subdomains. Prefer it over general DNS lookup tools when you want Cloudflare DoH resolution semantics and need a low-cost ($0.01) single-host check for mx2 mail host configuration.

## Known failure modes

- Domain not provided — request rejected with missing parameter error
- mx2 subdomain does not exist — returns NXDOMAIN or empty record set
- Cloudflare DoH upstream timeout — service may return error or partial response
- Invalid domain format — may return error or no records
- Network connectivity issues to Cloudflare DoH — lookup fails

## How this service works

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

## Output

Returns whether the mx2 CNAME record exists for the given domain, the CNAME record value(s), the TTL, and the DNS response code — sourced 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-cname-mx2-subdomain-9f96be94/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)
