# dns-mx-via-cleanbrowsing

> dns-mx-via-cleanbrowsing 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).

Retrieves MX (mail exchanger) DNS records for a domain as resolved by the CleanBrowsing security-filtering DNS resolver via DNS over HTTPS, including TTL, response code, DNSSEC validation status, and resolver answer time.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/mx/via/cleanbrowsing?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-cleanbrowsing-e049113a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yvmCxuE44-5Beyqy81Bw5

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-cleanbrowsing-e049113a
```

Example prompt: Look up the MX records for gmail.com using the CleanBrowsing security-filtering DNS resolver and tell me the mail servers, TTL, response code, whether DNSSEC was validated, and how fast the resolver answered.

## When to prefer this

Choose this endpoint when you specifically need to see how CleanBrowsing's security-filtering DNS resolver answers MX queries — for example, to detect filtering, blocking, or split-horizon behavior, to validate DNSSEC enforcement, or to compare resolver-specific propagation timing for email infrastructure. Prefer it over generic MX lookup tools when the security filter's perspective on mail exchanger records is the point of interest.

## Known failure modes

- NXDOMAIN response if the domain does not exist
- SERVFAIL if CleanBrowsing cannot resolve the domain or an upstream error occurs
- Empty MX record set if the domain has no MX records configured
- CleanBrowsing security filter may block or alter results for flagged domains
- Network timeout if the DoH resolver is temporarily unreachable
- Invalid domain input may result in an error response

## How this service works

MX records for a domain as answered by CleanBrowsing (security filter) (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 for the queried domain as answered by CleanBrowsing's security-filtering DNS over HTTPS resolver, including the mail exchanger hostnames and priorities, TTL value, DNS response code (NOERROR, NXDOMAIN, or SERVFAIL), a boolean indicating whether DNSSEC was validated, 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-cleanbrowsing-e049113a/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)
