# dns-ns-via-dnssb

> dns-ns-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-22).

Retrieves NS (nameserver) records for a domain as answered by DNS.SB via DNS over HTTPS, including TTL, response code, DNSSEC validation status, and resolver answer time.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/ns/via/dnssb?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-ns-via-dnssb-d82ac096
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vH3HLB3o2nqCEeViq99rh

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-ns-via-dnssb-d82ac096
```

Example prompt: What nameserver records does DNS.SB return for example.com? I want to see the NS records, TTL, response code, whether DNSSEC was validated, and how fast the resolver answered.

## When to prefer this

Choose this endpoint when you specifically want to see how DNS.SB resolves NS records for a domain, particularly for cross-resolver comparison, propagation lag detection, DNSSEC validation status, or split-horizon analysis. Prefer it over generic DNS tools when you need resolver-specific metadata like answer time and DNSSEC flag from DNS.SB's perspective.

## Known failure modes

- Domain does not exist — returns NXDOMAIN response code
- Resolver is unreachable or times out — returns SERVFAIL response code
- Invalid or malformed domain name input — may return error or SERVFAIL
- Domain has no NS records — returns NOERROR with empty answer section
- DNS.SB upstream outage — may return SERVFAIL or no response

## How this service works

NS 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 NS records for the queried domain as seen by DNS.SB, including the nameserver hostnames, TTL value, DNS response code (NOERROR, NXDOMAIN, or SERVFAIL), a boolean indicating whether DNSSEC was validated, and the resolver's answer time 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-ns-via-dnssb-d82ac096/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)
