# FTP SRV Record Lookup via Cloudflare DoH

> FTP SRV Record 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).

Looks up _ftp._tcp SRV DNS records for a domain using Cloudflare DNS-over-HTTPS, returning priority, weight, port, and target host for the domain's FTP service.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/srv/ftp-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/ftp-srv-record-lookup-via-cloudflare-doh-ca8c3f3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kdi27WEhDBg9OsGFlat2B

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 ftp-srv-record-lookup-via-cloudflare-doh-ca8c3f3f
```

Example prompt: What server and port handles FTP for example.com? Look up the _ftp._tcp SRV record so I know exactly where its FTP service lives.

## When to prefer this

Choose this endpoint when you need to programmatically discover an FTP service location for a domain using standards-based SRV DNS records, rather than guessing conventional hostnames like 'ftp.domain.com'. Ideal for automated FTP client configuration, network audits, or service discovery workflows where accuracy and authoritative DNS resolution via Cloudflare DoH matters.

## Known failure modes

- Domain has no _ftp._tcp SRV record configured — returns empty answer or NXDOMAIN
- Invalid or malformed domain name input — returns error response
- Cloudflare DoH upstream timeout or unavailability — returns error
- Domain exists but FTP SRV record is not published — returns NOERROR with empty answer section

## How this service works

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

## Output

Returns the SRV record set for _ftp._tcp.<domain> as resolved by Cloudflare DoH, including one or more records each with priority, weight, port, and target hostname, along with TTL and the 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/ftp-srv-record-lookup-via-cloudflare-doh-ca8c3f3f/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)
