# NTP UDP SRV Record Lookup

> NTP UDP SRV Record Lookup 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 _ntp._udp SRV DNS records for a domain via Cloudflare DoH, returning priority, weight, port, and target host for NTP service discovery.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/srv/ntp-udp?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/ntp-udp-srv-record-lookup-2f892ff4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ocrAaICp68e2Ok73La5WN

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 ntp-udp-srv-record-lookup-2f892ff4
```

Example prompt: What NTP servers does example.com advertise? Look up the _ntp._udp SRV records for example.com so I know the host, port, priority, and weight.

## When to prefer this

Use this endpoint when you need to discover a domain's NTP server location programmatically via DNS service discovery rather than guessing conventional hostnames like 'ntp.domain.com'. Ideal for automated infrastructure configuration, network provisioning scripts, or verifying NTP SRV record presence. Prefer over manual DNS tools when you need structured SRV data (priority, weight, port, target) returned in a machine-readable format.

## Known failure modes

- Domain has no _ntp._udp SRV records configured — returns empty answer section
- NXDOMAIN if domain itself does not exist
- Cloudflare DoH upstream timeout or error
- Invalid or malformed domain name input
- Payment failure (x402) if USDC balance is insufficient

## How this service works

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

## Output

Returns one or more SRV records for _ntp._udp.<domain>, each containing: priority (integer for server preference ordering), weight (load-balancing weight), port (UDP port the NTP service listens on), and target host (FQDN of the NTP server). If no SRV records exist, returns an empty result or NXDOMAIN indication.

## 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/ntp-udp-srv-record-lookup-2f892ff4/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)
