# DKIM Selector k2 Lookup

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

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/dkim/k2?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-k2-lookup-04aa1a01
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KfU7ENW6w7F-MbrFm22Mm

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-k2-lookup-04aa1a01
```

Example prompt: Can you check the DKIM k2 selector for example.com and tell me if the key is valid, what type and length it is, and whether it's in testing mode or revoked?

## When to prefer this

Use this endpoint when you specifically need to inspect the 'k2' DKIM selector for a domain — for example during email deliverability audits, key rotation verification, or diagnosing DKIM authentication failures for mail signed with that selector. Prefer this over generic DNS TXT lookups when you want structured DKIM field parsing (key type, length, revocation status) rather than raw record text.

## Known failure modes

- Domain has no k2 DKIM selector published — returns empty or NXDOMAIN response
- DNS lookup fails due to network/DoH availability issue
- Malformed TXT record that cannot be parsed into DKIM fields
- Domain does not exist or is invalid input
- Rate limiting or payment failure for the $0.01 per call fee

## How this service works

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

## Output

Returns parsed DKIM TXT record fields for k2._domainkey.<domain>: version tag (v=), key type (k=), public key (p=), public key length in bits, whether the record is in testing mode, and whether the key is revoked (empty p=). Also confirms whether mail signed with the k2 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-k2-lookup-04aa1a01/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)
