# DNS TXT Record Lookup for www Subdomain via Cloudflare DoH

> DNS TXT Record Lookup for www 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 TXT DNS records for the www.<domain> subdomain using Cloudflare DNS-over-HTTPS and returns existence status, records, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/www/txt?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-txt-record-lookup-for-www-subdomain-via-cloudflare-doh-11a82c9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a7RZj5H-qDO2GTjg-E1WM

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-txt-record-lookup-for-www-subdomain-via-cloudflare-doh-11a82c9c
```

Example prompt: Can you look up the TXT DNS records for the www subdomain of example.com using Cloudflare DoH and tell me if it exists and what records it has?

## When to prefer this

Use this endpoint when you specifically need TXT records for the www subdomain of a domain and want a fast, authoritative Cloudflare DoH response. Prefer this over generic DNS resolvers when you need DoH privacy and reliability, and when you only care about the www host rather than the apex domain or other subdomains.

## Known failure modes

- Domain does not exist (NXDOMAIN) — www subdomain has no DNS records
- No TXT records present for www subdomain even though the host exists
- Malformed domain input causing query failure
- Cloudflare DoH upstream timeout or unavailability
- Network error reaching the endpoint

## How this service works

TXT record of www.<domain>: looks up the www host under the domain you give (TXT 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.<domain> host exists in DNS, its TXT record values (e.g. SPF strings, domain verification tokens), the TTL of those records, and the DNS response code (e.g. NOERROR or NXDOMAIN).

## 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-txt-record-lookup-for-www-subdomain-via-cloudflare-doh-11a82c9c/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)
