# dns-mx-via-alidns-watch

> dns-mx-via-alidns-watch is a paid API for AI agents from dns.intel.rallylive.ca, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Monitors DNS MX records for a domain via AliDNS (223.5.5.5) and returns whether they changed compared to the previous check, with before/after diffs.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/watch/dns/mx/via/alidns?utm_source=zero.xyz
- Price: $0.02/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-alidns-watch-e570cb43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FMPAUlaZeAqUCEh1GHv1B

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-alidns-watch-e570cb43
```

Example prompt: Keep an eye on the MX records for example.com via AliDNS — let me know if anything has changed since the last check, and show me what the before and after values were.

## When to prefer this

Choose this endpoint when you need change-detection semantics for MX records specifically via AliDNS (the Chinese resolver at 223.5.5.5), rather than just a raw DNS lookup. Ideal for scheduled polling workflows where you want automatic before/after diffs without maintaining your own state. Prefer this over a plain MX lookup endpoint when your goal is alerting on change rather than just fetching current values. Use AliDNS-specific variant when you need to observe how the Chinese DNS infrastructure resolves mail records, which can differ from Google, Cloudflare, or OpenDNS views.

## Known failure modes

- Domain not found or NXDOMAIN: returns appropriate DNS response code with empty records
- No previous snapshot exists (first call): 'changed' may be null or false with no diff data
- AliDNS resolution failure: upstream DNS error reflected in response code
- Invalid or malformed domain input: request may be rejected or return error
- Snapshot older than 90 days expired: treated as first call with no prior state

## How this service works

Change watch for dns mx via alidns: runs the check, compares it with the result from your previous call for the same domain (kept 90 days) and returns the current answer, changed true/false, the fields that changed with before/after values, and when it was last seen. Schedule it to be alerted when this changes. $0.02 per check.

## Output

Returns the current MX records as resolved by AliDNS, a boolean 'changed' field indicating whether records differ from the previous call, a list of fields that changed with their before and after values, and a timestamp of when the records were last seen. Previous state is retained for up to 90 days per domain.

## 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-alidns-watch-e570cb43/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)
