# DNS CNAME Lookup for www Subdomain (Cloudflare DoH)

> DNS CNAME Lookup for www Subdomain (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 CNAME record for the www subdomain of a given domain via Cloudflare DNS over HTTPS and returns whether it exists, its records, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/www/cname?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-cname-lookup-for-www-subdomain-cloudflare-doh-a3e94414
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0DFr9BYGI9TmJ7sr5KfgT

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-cname-lookup-for-www-subdomain-cloudflare-doh-a3e94414
```

Example prompt: Can you check if www.acme.com has a CNAME record set up — I want to know what it points to and whether it actually exists?

## When to prefer this

Use this endpoint when you specifically need to check the CNAME record for the www subdomain of a domain without enumerating other subdomains. It is ideal for quick, targeted existence checks — e.g. verifying CDN configuration, confirming www aliasing, or pre-migration DNS audits. Prefer this over full subdomain enumeration tools when you only care about the www host and want a fast, single-record lookup via Cloudflare's trusted DoH resolver.

## Known failure modes

- Domain does not exist — returns NXDOMAIN response code with no records
- www subdomain has no CNAME record (may have A/AAAA instead) — returns empty record set
- Malformed domain input — may cause query failure or unexpected results
- Cloudflare DoH resolver is temporarily unavailable — request timeout or error
- Rate limiting or payment failure for the $0.01 per-call fee

## How this service works

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

## Output

Returns whether the www CNAME record exists for the given domain, the actual CNAME record value(s), the TTL in seconds, and the DNS response code (e.g. NOERROR or NXDOMAIN), sourced from Cloudflare's DNS over HTTPS resolver.

## 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-cname-lookup-for-www-subdomain-cloudflare-doh-a3e94414/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)
