# NS1 DNS Hosting Detector

> NS1 DNS Hosting Detector 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).

Checks whether a domain's DNS is hosted by NS1 by looking up its NS records via Cloudflare DoH and matching them against NS1 nameserver patterns.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/hosted-by/ns1?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/ns1-dns-hosting-detector-188f953c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dkwnzltbAZUEgFWjl9r2E

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 ns1-dns-hosting-detector-188f953c
```

Example prompt: Can you check if acmecorp.com has its DNS hosted by NS1? I need to know the matching nameservers too.

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.01) yes/no answer about whether a specific domain is using NS1 as its DNS provider, especially for sales prospecting, DNS migration audits, or security vendor identification. It uses Cloudflare DoH for reliable resolution and provides matched nameserver details, making it more informative than a raw NS lookup.

## Known failure modes

- Domain not found or non-existent — returns no NS records and hosted=no
- NS records found but none match NS1 patterns — returns hosted=no with full nameserver list
- Cloudflare DoH lookup failure due to upstream DNS issues — may return error or empty result
- Invalid or malformed domain input — may return error response

## How this service works

Is the domain's DNS hosted by ns1? Looks up the NS records (Cloudflare DoH) and matches them against ns1's nameserver patterns, returning yes/no, the nameservers and which ones matched. Vendor detection for sales, migration and security work. $0.01 per lookup.

## Output

Returns a yes/no flag indicating whether the domain's DNS is hosted by NS1, the full list of NS records found via Cloudflare DoH, and a subset list of those nameservers that matched NS1's known patterns.

## 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/ns1-dns-hosting-detector-188f953c/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)
