# DNS SRV Lookup via NextDNS (DoH)

> DNS SRV Lookup via NextDNS (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).

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

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/srv/via/nextdns?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-srv-lookup-via-nextdns-doh-14f0dc69
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5vlRu0gsyxdJRmPspn-NO

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-srv-lookup-via-nextdns-doh-14f0dc69
```

Example prompt: Can you look up the SRV records for example.com using NextDNS as the resolver and tell me the records, TTL, response code, whether DNSSEC was validated, and how long NextDNS took to answer?

## When to prefer this

Choose this endpoint when you specifically want to see how NextDNS (with its privacy and security filtering features) resolves SRV records, particularly to detect filtering, compare propagation lag against other resolvers, or verify DNSSEC validation status via a privacy-focused DoH resolver. Use it when NextDNS is the resolver of interest rather than a generic or authoritative lookup.

## Known failure modes

- Domain does not exist — returns NXDOMAIN response code with no records
- Resolver fails to answer — returns SERVFAIL response code
- Domain has no SRV records — returns NOERROR with empty record set
- Invalid domain name format — request may be rejected or return an error
- NextDNS may filter or block certain queries based on its security policies, returning different results than authoritative resolvers

## How this service works

SRV records for a domain as answered by NextDNS (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 SRV records for the queried domain (including priority, weight, port, and target), the TTL, the DNS response code (NOERROR, NXDOMAIN, or SERVFAIL), a flag indicating whether the NextDNS resolver validated DNSSEC, 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-srv-lookup-via-nextdns-doh-14f0dc69/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)
