# DNS TXT DNSLink Record Lookup

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

Retrieves the TXT record at the _dnslink subdomain of a given hostname and returns the dnslink= value found there

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-txt-dnslink?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-txt-dnslink-record-lookup-0f69421a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5LSmzENvoecBgAgfMyZ6p

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-txt-dnslink-record-lookup-0f69421a -d '<json body>'
```

Example prompt: What does the _dnslink TXT record say for the hostname docs.ipfs.tech — can you fetch the dnslink= value from its DNS?

## When to prefer this

Use this endpoint when you specifically need to resolve a DNSLink TXT record at the _dnslink subdomain of a hostname, such as when navigating IPFS/IPNS content addressed via human-readable domain names. Prefer the unpaid sandbox version (/v1/sandbox/dns-txt-dnslink) for testing. Choose this paid endpoint when the sandbox is unavailable or rate-limited.

## Known failure modes

- No _dnslink TXT record exists for the hostname — returns empty or error response
- Invalid or malformed hostname input — validation error
- DNS lookup timeout or resolution failure — network error
- Hostname exists but TXT record does not contain dnslink= prefix — may return empty or unexpected result
- Payment of $0.01 USDC not provided — 402 Payment Required response

## How this service works

Call when an agent needs TXT at _dnslink that contains dnslink=. Send JSON {"hostname":"example.com"}. Exact $0.01 USDC on Base. Try unpaid POST /v1/sandbox/dns-txt-dnslink first.

## Output

Returns the TXT record content found at the _dnslink subdomain of the provided hostname, specifically the dnslink= value indicating the IPFS, IPNS, or other distributed web path the domain resolves to.

## 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-txt-dnslink-record-lookup-0f69421a/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)
