# dns-mx-via-cloudflare

> dns-mx-via-cloudflare 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 MX (mail exchanger) DNS records for a domain using Cloudflare's 1.1.1.1 DNS-over-HTTPS resolver, returning records, TTL, response code, DNSSEC validation status, and answer time.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/mx/via/cloudflare?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-mx-via-cloudflare-deacd795
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SuZz1jaym1HF4_UpAiQMD

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-mx-via-cloudflare-deacd795
```

Example prompt: Can you check the MX records for example.com as seen by Cloudflare 1.1.1.1, and tell me the records, their TTL, whether DNSSEC was validated, and how fast the resolver answered?

## When to prefer this

Use this endpoint when you specifically need to know what MX records Cloudflare 1.1.1.1 reports for a domain — ideal for diagnosing email delivery issues, verifying DNS propagation as seen from Cloudflare's global network, checking DNSSEC validation status, or comparing Cloudflare's answer against other resolvers to detect split-horizon DNS or propagation lag. Prefer this over general DNS lookup tools when you need structured programmatic output including TTL, response code, DNSSEC flag, and resolver latency together in one response.

## Known failure modes

- Domain does not exist — returns NXDOMAIN response code with no records
- Domain exists but has no MX records — returns NOERROR with empty answer set
- Resolver upstream failure — returns SERVFAIL response code
- Invalid domain name input — may return error or NXDOMAIN
- Network timeout reaching Cloudflare DoH endpoint — may return a service error

## How this service works

MX records for a domain as answered by Cloudflare 1.1.1.1 (DNS over HTTPS): the records, TTL, response code (NOERROR/NXDOMAIN/SERVFAIL), whether the resolver validated DNSSEC, and the resolver's answer time. Compare resolvers to spot propagation lag, filtering or split-horizon answers. $0.01 per lookup.

## Output

Returns the MX records (priority and mail server hostnames) for the queried domain as answered by Cloudflare 1.1.1.1, including the TTL, the DNS response code (NOERROR, NXDOMAIN, or SERVFAIL), whether the resolver validated DNSSEC, and the resolver's answer time in milliseconds.

## 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-mx-via-cloudflare-deacd795/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)
