{"uid":"cap_py2XzCoxCwOpTn7eijBGe","slug":"dkim-selector-2-public-key-lookup-383a9b20","name":"DKIM Selector 2 Public Key Lookup","description":"DKIM public key for selector \"2\" of a domain: looks up 2._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 2 selector will verify. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/dkim/2?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mBpVYdwd8IUwsWxxAmv7j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up and parses the DKIM public key for selector '2' of a given domain (2._domainkey.<domain>) via Cloudflare DoH, returning key metadata including type, length, testing flag, and revocation status.","exampleAgentPrompt":"Can you check if DKIM selector 2 is properly set up for example.com — I want to know the key type, length, and whether it's revoked or in testing mode?","exampleUseCases":[{"title":"Pre-send email deliverability check","prompt":"Before we send this campaign, check if DKIM selector 2 is valid and not revoked for ourdomain.com — I want to confirm mail signed with selector 2 will actually verify."},{"title":"Security audit of DKIM key strength","prompt":"What's the public key length for DKIM selector 2 on bigcorp.com? I'm auditing whether they're using at least 2048-bit RSA keys."},{"title":"Diagnosing DKIM selector misconfiguration","prompt":"We switched DKIM selectors and now emails are bouncing — can you check if the selector 2 record on ourstartup.io is properly configured or if it's showing up as revoked?"}],"resultDescription":"Returns parsed DKIM TXT record details for the '2' selector including: the raw TXT record, version tag (v=), key type (k=, e.g. rsa), public key (p=), public key bit length, whether the key is revoked (empty p=), and whether the testing flag (t=y) is set. Indicates whether mail signed with selector 2 will successfully verify.","failureModes":["Domain does not have a 2._domainkey TXT record (NXDOMAIN or NOERROR with no records)","DKIM record is revoked (empty p= field) — reported but treated as valid lookup","Malformed TXT record that cannot be parsed into DKIM fields","DNS resolution failure via Cloudflare DoH","Domain input missing or invalid format"],"whenToPreferThis":"Use this endpoint when you specifically need to validate or inspect the DKIM public key for selector '2' of a domain. Prefer this over generic DNS TXT lookups when you need parsed DKIM metadata (key type, length, revocation status) rather than the raw record. Ideal for email deliverability checks, security audits, and DKIM configuration debugging when the sending domain uses selector '2'.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:43.482Z","isFirstParty":false,"canonicalSlug":"dkim-selector-2-public-key-lookup-383a9b20"}