# DNS CNAME Record Lookup with Dangling-CNAME Detection

> DNS CNAME Record Lookup with Dangling-CNAME Detection is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Resolves the CNAME alias target chain for a hostname, returns TTL, and flags dangling CNAMEs (targets that don't resolve) as subdomain-takeover risk indicators.

## Facts

- Endpoint: GET https://intel.rallylive.ca/dns/cname
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-cname-record-lookup-with-dangling-cname-detection-3d226bc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_asiSZBdMGokSvEnbmyJjV

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-record-lookup-with-dangling-cname-detection-3d226bc2
```

Example prompt: Look up the CNAME record for staging.example.com — I need to see the full alias chain, the TTL, and whether the target resolves or if it's dangling and at risk of subdomain takeover.

## When to prefer this

Choose this endpoint when you specifically need CNAME alias chain resolution combined with a dangling-CNAME security check — particularly useful for security hygiene audits, subdomain takeover risk detection, and DNS asset inventory. If you need A, MX, and TXT records in one call, prefer the general dns-lookup sibling endpoint instead.

## Known failure modes

- Hostname has no CNAME record (returns empty or not-found response)
- Network error reaching the DNS resolver
- Invalid or malformed hostname input
- Transient DNS resolution failure producing false dangling-CNAME positive
- Payment failure if x402 microtransaction is not completed

## How this service works

DNS CNAME record lookup for a hostname: the alias target chain, TTL, and a dangling-CNAME check (target does not resolve, a subdomain-takeover risk indicator). Asset inventory and security hygiene. $0.01 per lookup.

## Output

Returns the full CNAME alias target chain (the sequence of canonical names until a final target), the TTL of the record, and a boolean dangling-CNAME indicator that flags whether the terminal target fails to resolve — a signal for potential subdomain takeover vulnerability.

## 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-record-lookup-with-dangling-cname-detection-3d226bc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
