# SRV PGPKEY-HTTPS TCP Service Discovery via DNS

> SRV PGPKEY-HTTPS TCP Service Discovery via DNS 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-19).

Resolves _pgpkey-https._tcp SRV records for a domain using Cloudflare DoH, returning priority, weight, port, and target host for the domain's pgpkey-https service.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/srv/pgpkey-https-tcp?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/srv-pgpkey-https-tcp-service-discovery-via-dns-b60509c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o1b3W0tmfKyqCv1K2gwWi

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 srv-pgpkey-https-tcp-service-discovery-via-dns-b60509c8
```

Example prompt: Look up the _pgpkey-https._tcp SRV record for example.com so I can find out which server and port hosts its PGP key HTTPS service.

## When to prefer this

Use this endpoint when you need to programmatically discover where a domain's PGP key HTTPS service is hosted without manually guessing hostnames or ports. It is the correct choice for automated PGP key service discovery workflows, email security tooling, or any agent that needs to resolve _pgpkey-https._tcp SRV records via a paid, reliable Cloudflare DoH-backed lookup.

## Known failure modes

- Domain has no _pgpkey-https._tcp SRV record configured — returns empty or NXDOMAIN response
- Invalid or malformed domain name input — returns error
- Cloudflare DoH upstream timeout or unavailability — returns error
- Domain exists but SRV record not yet propagated — may return stale or empty result

## How this service works

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

## Output

Returns the SRV record fields for _pgpkey-https._tcp.<domain>: priority (integer), weight (integer), port (integer), and target hostname. If no record exists, indicates the absence. Data is sourced from Cloudflare's DNS over HTTPS resolver.

## 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/srv-pgpkey-https-tcp-service-discovery-via-dns-b60509c8/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)
