# DNS A Record Lookup for db Subdomain via Cloudflare DoH

> DNS A Record Lookup for db 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-20).

Looks up the A record (IPv4 address) for the db.<domain> subdomain using Cloudflare DNS over HTTPS, returning existence status, IP records, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/db/a?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-a-record-lookup-for-db-subdomain-via-cloudflare-doh-9cd488bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zlk6SxjzUZlpxydgz-jwC

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-db-subdomain-via-cloudflare-doh-9cd488bf
```

Example prompt: Can you check if db.acmecorp.com exists in DNS and tell me its IPv4 address and TTL?

## When to prefer this

Use this endpoint when you need a fast, single-shot existence and IP resolution check for the db subdomain of a specific domain without performing full subdomain enumeration. It's ideal for infrastructure audits, pre-deployment checks, or domain intelligence workflows where you specifically need the db host and want Cloudflare DoH resolution fidelity. Prefer it over general DNS tools when you want a pay-per-use, no-setup lookup with structured output.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns not-found status with no records
- db subdomain has no A record but domain exists — empty record set returned
- Invalid or malformed domain input — may return an error or empty response
- Cloudflare DoH temporarily unavailable — upstream timeout or error
- Rate limiting or payment failure — 402 payment required error

## How this service works

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

## Output

Returns whether the db.<domain> subdomain exists in DNS, the A (IPv4) record(s) associated with it, the TTL value, and the DNS response code — all 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-a-record-lookup-for-db-subdomain-via-cloudflare-doh-9cd488bf/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)
