# dns-txt-via-dnssb

> dns-txt-via-dnssb 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).

Fetches DNS TXT records for a domain using DNS.SB as the DNS-over-HTTPS resolver, returning records, TTL, response code, DNSSEC validation status, and answer time.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/txt/via/dnssb?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-via-dnssb-1886c118
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zGIBl4coUbrPIJHusqJ-G

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-via-dnssb-1886c118
```

Example prompt: What TXT records does DNS.SB currently return for example.com — include the TTL, response code, whether DNSSEC was validated, and how fast the resolver answered?

## When to prefer this

Choose this endpoint when you specifically need to see what DNS.SB returns for TXT records — useful for multi-resolver comparison to detect propagation lag, filtering differences, or split-horizon behavior. Prefer it over other resolver endpoints when DNS.SB is your reference resolver or when you want its DNSSEC validation result and answer time specifically.

## Known failure modes

- Domain does not exist — returns NXDOMAIN response code with empty record set
- Resolver fails to answer — returns SERVFAIL response code
- No TXT records exist for the domain — returns NOERROR with empty answer section
- Payment not provided or invalid — request rejected before lookup
- Network timeout reaching DNS.SB resolver — possible SERVFAIL or no response

## How this service works

TXT records for a domain as answered by DNS.SB (DNS over HTTPS): the records, TTL, response code (NOERROR/NXDOMAIN/SERVFAIL), whether the resolver validated DNSSEC, and the resolver's answer time. Compare resolvers to spot propagation lag, filtering or split-horizon answers. $0.01 per lookup.

## Output

Returns the TXT record set for the queried domain as seen by DNS.SB, including: the record data strings, TTL value, DNS response code (NOERROR, NXDOMAIN, or SERVFAIL), a flag indicating whether the resolver performed DNSSEC validation, and the resolver's answer latency in milliseconds.

## 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-via-dnssb-1886c118/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)
