# DKIM Selector sel2 Public Key Lookup

> DKIM Selector sel2 Public Key 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 'sel2' selector of a given domain via Cloudflare DNS-over-HTTPS, returning key type, length, testing flag, and revocation status.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/dkim/sel2?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-sel2-public-key-lookup-25a696d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W6d3gYoR3vst_3ZHRvb2b

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-sel2-public-key-lookup-25a696d6
```

Example prompt: Can you check the DKIM sel2 selector for example.com — I want to know if the key is valid, what type and length it is, and whether it's been revoked?

## When to prefer this

Use this endpoint when you specifically need to inspect the DKIM 'sel2' selector for a domain — particularly to validate email signing configuration, audit key strength, detect revoked keys, or confirm that sel2-signed mail will pass DKIM verification. Prefer this over generic DNS TXT lookups when you need structured DKIM field parsing (v=, k=, key length, testing flag, revocation status) without having to parse raw TXT records yourself.

## Known failure modes

- Domain does not have a sel2._domainkey TXT record — returns not found or NXDOMAIN
- DKIM record exists but is malformed and cannot be parsed
- Cloudflare DoH is temporarily unreachable — upstream DNS failure
- Domain name input is invalid or missing — returns validation error
- Key is present but empty (p=) indicating revocation — flagged as revoked

## How this service works

DKIM public key for selector "sel2" of a domain: looks up sel2._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 sel2 selector will verify. $0.01 per lookup.

## Output

Returns parsed details from the sel2._domainkey.<domain> TXT record including: DKIM version (v=), key type (k=), RSA/EC key type label, public key bit length, whether the domain is in testing mode, and whether the key is revoked (empty p= field). Confirms whether mail signed with the sel2 selector will successfully verify.

## 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-sel2-public-key-lookup-25a696d6/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)
