# DNS A Record Lookup for staging Subdomain via Cloudflare DoH

> DNS A Record Lookup for staging Subdomain via Cloudflare DoH 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 the A record(s) for staging.<domain> using Cloudflare DNS over HTTPS, returning existence status, IP addresses, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/staging/a?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-a-record-lookup-for-staging-subdomain-via-cloudflare-doh-a5cd9d36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IKYOY-t80fv2aXIZ_ma4-

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-a-record-lookup-for-staging-subdomain-via-cloudflare-doh-a5cd9d36
```

Example prompt: Can you check if the staging subdomain for acme.com has a DNS A record — I want to know its IP and whether it actually resolves?

## When to prefer this

Use this endpoint when you need a fast, single-shot existence and IP check for the staging subdomain of a known domain without doing broad subdomain enumeration. Prefer it over generic DNS resolvers when you specifically want Cloudflare DoH resolution semantics and a simple pay-per-lookup model. It's ideal for DevOps automation, pre-deployment checks, or client onboarding workflows.

## Known failure modes

- Domain does not exist — NXDOMAIN returned, no A records
- staging subdomain not configured — NXDOMAIN for subdomain even if root domain resolves
- Invalid or malformed domain input — request error
- Cloudflare DoH upstream timeout or error — service unavailable
- Domain exists but has no A record (only CNAME or other types) — empty record set

## How this service works

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

## Output

Returns whether staging.<domain> exists in DNS, its A record IP address(es), the TTL in seconds, and the DNS response code (e.g. NOERROR or NXDOMAIN) as answered by Cloudflare DoH.

## 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-a-record-lookup-for-staging-subdomain-via-cloudflare-doh-a5cd9d36/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)
