# DNS SRV Record Parse

> DNS SRV Record Parse is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-21).

Parses and normalizes DNS SRV record fields (priority, weight, port, target) from a caller-supplied string into structured, validated JSON

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/dns-srv-record-parse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-srv-record-parse-7a5a2130
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GH4G4TqGjkUu3hXOsfR1j

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-parse-7a5a2130 -d '<json body>'
```

Example prompt: Can you parse this DNS SRV record for me and normalize the priority, weight, port, and target fields? The record is: '_sip._tcp.example.com. 86400 IN SRV 10 20 5060 sip.example.com.'

## When to prefer this

Choose this endpoint when you need a stateless, deterministic, zero-dependency parser for DNS SRV records that returns structured normalized fields and an explicit pass/advisory status. Ideal before caching, forwarding, or retrying connections based on caller-supplied SRV data, where you want consistent versioned JSON output without standing up your own parsing logic or calling an external DNS resolver.

## Known failure modes

- Malformed or unparseable SRV record string returns an advisory status with a descriptive finding
- Record string exceeding 8192 characters is rejected
- Missing required fields in the SRV record result in an advisory or fail status
- Non-SRV DNS record format passed as input may produce parse errors or advisory status

## How this service works

DNS SRV Record Parse: DNS SRV Record Parse normalizes SRV priority, weight, port, and target fields from bounded caller-supplied values without an external provider. Call DNS SRV Record Parse before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for DNS SRV Record Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-on…

## Output

Returns a versioned deterministic JSON object containing the normalized SRV record fields (priority, weight, port, target), a computed finding describing the parse result, and an explicit pass or advisory status indicating whether the record is acceptable for use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "record": {
   "type": "string",
   "maxLength": 8192,
   "description": "Record supplied to DNS SRV Record Parse; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "port": 443,
   "target": "service.example.com",
   "weight": 5,
   "priority": 10
  },
  "schema": "delx/util-dns-srv-record-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "2bf42975dbde8153fcd9418bd87eac1cf8444a79271b983e8dd747fea6a78243",
   "external_calls": 0
  },
  "operation": "web_reliability:dns_srv_record_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-srv-record-parse-7a5a2130/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
