# dns-ns-via-cloudflare-watch

> dns-ns-via-cloudflare-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-01).

Monitors DNS NS records via Cloudflare DoH for a domain and returns whether they changed since the last check, with before/after field diffs.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/watch/dns/ns/via/cloudflare?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-ns-via-cloudflare-watch-0f06b349
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r5N8QqhPBI8wV0WDD25vp

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-ns-via-cloudflare-watch-0f06b349
```

Example prompt: Watch the NS records for example.com via Cloudflare and tell me if they've changed since the last time you checked — show me what changed and when it was last seen.

## When to prefer this

Choose this endpoint when you need to detect changes in a domain's nameserver (NS) records specifically via Cloudflare's DNS resolver, with automated diffing against a stored baseline. Prefer it over plain NS lookup endpoints when your goal is change detection rather than a one-time lookup, and when you want to schedule periodic checks and receive structured before/after diffs without maintaining your own state.

## Known failure modes

- Domain not yet checked before — no previous snapshot exists, so 'changed' will be false/null on first call
- Domain does not exist or has no NS records — returns NXDOMAIN or empty record set
- Previous snapshot expired (older than 90 days) — comparison resets, treated as first call
- Network error reaching Cloudflare DoH — upstream resolver unavailable
- Invalid domain name format — request rejected with error
- Payment not provided or insufficient — x402 payment required error

## How this service works

Change watch for dns ns via cloudflare: 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 NS records as answered by Cloudflare DoH, a boolean 'changed' flag indicating whether the records differ from the previous check (retained for 90 days), a list of fields that changed with their before and after values, and the timestamp of when the records were last seen.

## 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-ns-via-cloudflare-watch-0f06b349/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)
