# dns-a-ns2-subdomain

> dns-a-ns2-subdomain 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).

Looks up the A record for the ns2 subdomain of a given domain via Cloudflare DNS over HTTPS and reports its existence, IP addresses, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/ns2/a?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-a-ns2-subdomain-b739a3c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iPfGiMn51UTQWimqYIbZo

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-ns2-subdomain-b739a3c4
```

Example prompt: Can you check if ns2.example.com has a DNS A record — I want to know if it exists, what IP it resolves to, and its TTL?

## When to prefer this

Use this endpoint when you need a fast, targeted check on whether ns2.<domain> has an A record without performing full subdomain enumeration. Ideal for DNS infrastructure audits, security reconnaissance, or verifying nameserver configuration for a specific domain. Choose this over generic DNS tools when you only need the ns2 host and want a paid, reliable, DoH-backed result via Cloudflare at low cost per lookup.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns no records and a non-existent response code
- ns2 subdomain has no A record (may have AAAA or other records but not A)
- Malformed or missing domain input — likely returns an error or empty result
- Cloudflare DoH service unavailable — upstream timeout or error
- Domain with SERVFAIL — upstream resolver issue reported back

## How this service works

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

## Output

Returns whether ns2.<domain> exists as a DNS A record, the resolved IPv4 address(es), the TTL in seconds, and the DNS response code — all retrieved via Cloudflare DoH.

## 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-ns2-subdomain-b739a3c4/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)
