# DNS SRV Record Lookup for SMB (_smb._tcp)

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

Looks up SRV records at _smb._tcp.{hostname} for a given registrable domain and returns the results

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-srv-smb?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-srv-record-lookup-for-smb-smb-tcp-714c17c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mwJaW2tSPPXdmQbEp1UPc

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-smb-smb-tcp-714c17c2 -d '<json body>'
```

Example prompt: Can you look up the SMB SRV records for the domain example.com so I can find out where the SMB file server is configured?

## When to prefer this

Use this endpoint when you need to programmatically discover the SMB server location for a domain via DNS SRV records (_smb._tcp). Prefer the unpaid sandbox POST /v1/sandbox/dns-srv-smb for testing. Choose this paid endpoint for production lookups where reliable DNS resolution of SMB service endpoints is required.

## Known failure modes

- Domain has no _smb._tcp SRV records configured — returns empty or NXDOMAIN result
- Invalid or malformed hostname input — returns validation error
- DNS resolution timeout or upstream DNS failure — returns error response
- Payment of $0.005 USDC not provided or rejected — returns 402 Payment Required

## How this service works

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

## Output

Returns SRV record data for _smb._tcp.{hostname}, including the priority, weight, port, and target hostname of the SMB server(s) registered in DNS for that domain.

## 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-smb-smb-tcp-714c17c2/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)
