# Mailgun DKIM TXT DNS Record Lookup

> Mailgun DKIM TXT DNS Record Lookup 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-01).

Retrieves the Mailgun DKIM TXT DNS record value for a given hostname by querying the mailgun._domainkey.{hostname} DNS name

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-txt-dkim-mailgun?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mailgun-dkim-txt-dns-record-lookup-3a4c7b83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sxhiuqIkWl7k2ecbzKqsO

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 mailgun-dkim-txt-dns-record-lookup-3a4c7b83 -d '<json body>'
```

Example prompt: Can you look up the Mailgun DKIM TXT DNS record for example.com — specifically the value at mailgun._domainkey.example.com?

## When to prefer this

Use this endpoint when you specifically need the Mailgun DKIM TXT record (at the mailgun._domainkey selector) for a given hostname. Prefer the free sandbox equivalent (POST /v1/sandbox/dns-txt-dkim-mailgun) when available to avoid the $0.005 USDC cost. Choose this over generic DNS lookup tools when you want a purpose-built, agent-ready call that targets exactly the Mailgun DKIM selector without parsing raw DNS responses.

## Known failure modes

- Hostname not found in DNS — returns an error or empty result if the domain has no mailgun._domainkey TXT record
- Invalid hostname format — rejected if the hostname exceeds 253 characters or is otherwise malformed
- Network/DNS resolution timeout — transient failure if DNS is slow or unreachable
- Domain exists but Mailgun DKIM not configured — record may be absent or empty

## How this service works

Call when an agent needs TXT at mailgun._domainkey.{hostname}. A different selector is a different DNS name. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/dns-txt-dkim-mailgun first.

## Output

Returns the TXT record value published at mailgun._domainkey.{hostname} in DNS, which contains the Mailgun DKIM public key for the given domain. This value can be used to verify or configure email authentication settings.

## 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/mailgun-dkim-txt-dns-record-lookup-3a4c7b83/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)
