# DNS A Record Lookup for cdn Subdomain

> DNS A Record Lookup for cdn Subdomain 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-23).

Looks up the A record(s) for the cdn.<domain> subdomain via Cloudflare DNS over HTTPS and reports existence, IP addresses, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/cdn/a?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-a-record-lookup-for-cdn-subdomain-94fcd31b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pPfBe3OYj6psAH-OAi62d

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-cdn-subdomain-94fcd31b
```

Example prompt: Can you check if shopify.com has a cdn subdomain — look up the A record for cdn.shopify.com and tell me what IP it resolves to and the TTL?

## When to prefer this

Use this endpoint when you need a fast, targeted check for whether a specific domain has a cdn subdomain configured with an A record, without doing a full subdomain enumeration. Prefer this over general DNS tools when you only need the cdn host and want a low-cost ($0.01) single-purpose lookup via Cloudflare DoH for reliability and accuracy.

## Known failure modes

- Domain does not have a cdn subdomain — returns NXDOMAIN response
- Invalid or malformed domain input — may return an error or empty result
- Domain exists but cdn subdomain is a CNAME, not a direct A record
- Network or DoH resolver timeout
- Rate limiting or payment failure for the $0.01 USDC per-call fee

## How this service works

A record of cdn.<domain>: looks up the cdn 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 cdn without enumerating subdomains. $0.01 per lookup.

## Output

Returns whether cdn.<domain> exists as an A record, the resolved IPv4 address(es), the TTL in seconds, and the DNS response code (e.g. NOERROR or NXDOMAIN), as answered by Cloudflare DNS over HTTPS.

## 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-cdn-subdomain-94fcd31b/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)
