# Valheim DNS SRV Record Lookup

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

Looks up SRV records at _valheim._udp.{hostname} for a given registrable domain to locate a Valheim game server

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-srv-valheim?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/valheim-dns-srv-record-lookup-9ba8824b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_itT0Cbfo7yZtwbqd0x-99

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 valheim-dns-srv-record-lookup-9ba8824b -d '<json body>'
```

Example prompt: Can you look up the Valheim SRV record for the domain mygameserver.com so I can find out what host and port the server is running on?

## When to prefer this

Use this endpoint when you specifically need to resolve the _valheim._udp SRV record for a given domain to locate a Valheim game server. Prefer the free sandbox endpoint at POST /v1/sandbox/dns-srv-valheim for testing before committing the $0.008 USDC paid call.

## Known failure modes

- No SRV record exists for _valheim._udp at the given domain — returns empty or NXDOMAIN response
- Invalid or malformed hostname input exceeding 253 characters
- Domain exists but has no Valheim-specific SRV record configured
- DNS resolution timeout or upstream DNS failure
- Hostname resolves but record type is absent

## How this service works

Call when an agent needs SRV records at _valheim._udp.{hostname} for Valheim. The caller sends the registrable domain, not the underscored name. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/dns-srv-valheim first.

## Output

Returns the DNS SRV record details found at _valheim._udp.{hostname}, including priority, weight, port, and target hostname, allowing the caller to identify the Valheim server's network address and port.

## 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/valheim-dns-srv-record-lookup-9ba8824b/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)
