# DKIM Selector Mailgun Lookup

> DKIM Selector Mailgun Lookup is a paid API for AI agents from dns.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Looks up and parses the DKIM public key for the 'mailgun' selector of a given domain, confirming whether mail signed with that selector will verify.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/dkim/mailgun?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dkim-selector-mailgun-lookup-dacf6595
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K7zl7WVHvFEOqNe17hA6I

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 dkim-selector-mailgun-lookup-dacf6595
```

Example prompt: Can you check whether example.com has a valid and active mailgun DKIM selector configured — tell me the key type, public key length, and whether it's revoked or in testing mode?

## When to prefer this

Use this endpoint when you specifically need to validate the 'mailgun' DKIM selector for a domain — ideal for email deliverability checks, security audits, or diagnosing Mailgun-specific DKIM failures. Prefer it over generic DNS TXT lookups when you want structured parsing of DKIM fields (key type, length, revocation status) rather than raw record text.

## Known failure modes

- Domain has no mailgun._domainkey TXT record (selector not configured)
- DNS resolution failure via Cloudflare DoH (network or upstream error)
- Malformed TXT record that cannot be parsed
- Key is revoked (empty p= field), indicating DKIM will fail
- Rate limiting or payment failure ($0.01 per call via x402)

## How this service works

DKIM public key for selector "mailgun" of a domain: looks up mailgun._domainkey.<domain> (TXT, Cloudflare DoH) and parses v=, k=, key type, public-key length, testing flag and whether the key is revoked (empty p=). Confirms that mail signed with the mailgun selector will verify. $0.01 per lookup.

## Output

Returns parsed details from the mailgun._domainkey.<domain> DNS TXT record, including the DKIM version tag (v=), key type (k=), public key and its bit length, whether the key is revoked (empty p=), and whether the testing flag is set — confirming if Mailgun-signed mail will pass DKIM verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dkim-selector-mailgun-lookup-dacf6595/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns.intel.rallylive.ca](https://www.zero.xyz/host/dns.intel.rallylive.ca/llms.txt)
