# DNS SRV Record Lookup for LDAP

> DNS SRV Record Lookup for LDAP is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-02).

Resolves SRV DNS records at _ldap._tcp.{hostname} for a given registrable domain name

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-srv-ldap?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-srv-record-lookup-for-ldap-f2f9a533
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EHqc8FgHL8v9y-xy_jmLI

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 dns-srv-record-lookup-for-ldap-f2f9a533 -d '<json body>'
```

Example prompt: What are the LDAP SRV records for example.com? I need to find the LDAP server hostname and port for that domain.

## When to prefer this

Use this endpoint when an agent needs to programmatically discover LDAP server endpoints for a domain via standard DNS SRV record lookup, particularly in identity, directory, or authentication workflows that require dynamic LDAP server discovery rather than hardcoded configuration.

## Known failure modes

- Domain has no _ldap._tcp SRV records configured — returns empty or NXDOMAIN
- Invalid or malformed hostname input exceeding 253 characters
- DNS resolution timeout or upstream DNS failure
- Domain does not exist in DNS
- Payment of exactly $0.007 USDC not provided — x402 payment required

## How this service works

Call when an agent needs SRV records at _ldap._tcp.{hostname} for LDAP. The caller sends the registrable domain, not the underscored name. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/dns-srv-ldap first.

## Output

Returns the SRV record data for _ldap._tcp.{hostname}, including one or more records each containing priority, weight, port number, and the target LDAP server hostname, enabling clients to locate and connect to the domain's LDAP directory service.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hostname": {
   "type": "string",
   "examples": [
    "example.com"
   ],
   "maxLength": 253,
   "minLength": 1,
   "description": "Public DNS hostname such as example.com. Not a URL, not an IP literal, and not a private name."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-srv-record-lookup-for-ldap-f2f9a533/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
