# Minecraft SRV DNS Lookup via Cloudflare DoH

> Minecraft SRV DNS Lookup via Cloudflare 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-20).

Resolves _minecraft._tcp.<domain> SRV records to discover the priority, weight, port, and target host for a Minecraft server using Cloudflare DNS over HTTPS.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/srv/minecraft-tcp?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minecraft-srv-dns-lookup-via-cloudflare-doh-5c706c3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6hZB7QZH_axY9cvM3OCB3

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 minecraft-srv-dns-lookup-via-cloudflare-doh-5c706c3d
```

Example prompt: What SRV record does play.example.com have set up for Minecraft — can you look up the host and port the Minecraft service is pointing to?

## When to prefer this

Use this endpoint when you need to discover where a Minecraft server is hosted for a given domain without guessing hostnames or ports — specifically when the domain uses standard SRV-based Minecraft service discovery (_minecraft._tcp). Prefer this over generic DNS resolvers when you want a simple, paid, structured API response backed by Cloudflare DoH with no infrastructure setup required.

## Known failure modes

- Domain has no _minecraft._tcp SRV record — returns NXDOMAIN or empty answer section
- Domain does not exist — DNS NXDOMAIN response
- Malformed or missing domain input — request validation error
- Cloudflare DoH upstream timeout or unavailability — may return error or timeout

## How this service works

MINECRAFT service discovery (_minecraft._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's minecraft service lives without guessing hosts. $0.01 per lookup.

## Output

Returns the SRV record data for _minecraft._tcp.<domain> as answered by Cloudflare DoH, including one or more records each containing priority, weight, port, and target hostname, along with the TTL and DNS response code.

## 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/minecraft-srv-dns-lookup-via-cloudflare-doh-5c706c3d/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)
