# CardDAV SRV Record Lookup via Cloudflare DoH

> CardDAV 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-22).

Resolves _carddav._tcp SRV DNS records for a domain using Cloudflare DNS-over-HTTPS, returning priority, weight, port, and target host for the domain's CardDAV service.

## Facts

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

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 carddav-srv-record-lookup-via-cloudflare-doh-352596fd
```

Example prompt: Can you look up the CardDAV SRV DNS record for example.com so I know which host and port to connect to for contacts sync?

## When to prefer this

Use this endpoint when you need to programmatically discover a domain's CardDAV service location via standard SRV DNS records, especially for auto-configuring contacts clients or auditing DNS infrastructure. Prefer it over manual guessing or well-known URL probing when SRV-based discovery is the target mechanism. Choose it over generic DNS tools when you specifically need _carddav._tcp SRV resolution with Cloudflare's DoH resolver.

## Known failure modes

- Domain has no _carddav._tcp SRV record configured — returns NXDOMAIN or empty answer section
- Domain does not exist — DNS lookup fails with NXDOMAIN
- Cloudflare DoH upstream unavailable — service may return error or timeout
- Malformed domain input — query may fail or return unexpected results
- Domain has CardDAV served via other discovery methods (e.g. well-known URL) but no SRV record — returns empty result

## How this service works

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

## Output

Returns the SRV records for _carddav._tcp.<domain> as answered by Cloudflare DNS-over-HTTPS, including each record's priority, weight, port, and target hostname, along with TTL and DNS response code (e.g. NOERROR or NXDOMAIN).

## 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/carddav-srv-record-lookup-via-cloudflare-doh-352596fd/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)
