# DNS CNAME Lookup for img Subdomain via Cloudflare DoH

> DNS CNAME Lookup for img 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 CNAME record for the img.<domain> subdomain using Cloudflare DNS over HTTPS and reports its existence, records, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/img/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-img-subdomain-via-cloudflare-doh-47debfc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BSSkNUNZQdtgakggmxc_-

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-img-subdomain-via-cloudflare-doh-47debfc6
```

Example prompt: Can you check if example.com has an img subdomain set up — specifically look up the CNAME record for img.example.com using Cloudflare DNS?

## When to prefer this

Use this endpoint when you specifically need to check whether the img subdomain of a given domain has a CNAME record configured, without running a full subdomain enumeration. Ideal for quick, targeted infrastructure checks on a single common hostname pattern via Cloudflare's DoH resolver.

## Known failure modes

- NXDOMAIN returned when img subdomain does not exist for the given domain
- Invalid or malformed domain name causes lookup failure
- Cloudflare DoH upstream timeout or unavailability
- Domain exists but has no CNAME record type (only A or other records)
- Rate limiting or payment failure for $0.01 per call charge

## How this service works

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

## Output

Returns whether the img.<domain> CNAME record exists, the CNAME target(s) it points to, the TTL value, 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-cname-lookup-for-img-subdomain-via-cloudflare-doh-47debfc6/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)
