Network

Read a DKIM public key from a split TXT answer

·

Check the selector and the public-key data before attributing a DKIM verification problem to the key. A DNS TXT answer can contain several quoted strings even when there is just one public-key record.

DKIM Record Checker

Join the public key in a single TXT answer

Select Load example and Check DKIM record. The owner is spring._domainkey.dispatch.example.test. The single input line uses two quoted character-strings, with the second completing the p value.

Expect one TXT record, two character-strings, type ed25519 and 256 key bits. The example is a public test key from RFC 8463. Moving its second quoted string onto a new line creates a separate input record and a competing-record warning.

Read the tags in order. v identifies the version, k declares the algorithm and p carries the public-key bytes. DNS TXT strings are concatenated without adding a space.

RFC 1035 DNS TXT recordsRFC 6376 DKIM key records and signature verificationRFC 8463 Ed25519 and example public DNS keys

Compare a revoked key with a missing public key

Replace the example with v=DKIM1; k=ed25519; p= and check again. Key state reads Revoked. Remove the p tag to see a missing-key issue instead.

If you are inspecting an RSA record, keep all pieces of the p value together. The report reads the modulus from DER. RSA below 1024 bits is outside RFC 8301's minimum. The signing recommendation is at least 2048 bits.

RFC 6376 DKIM key records and signature verificationRFC 8301 RSA key size requirements

Check owner and timestamp in saved DNS evidence

Choose Saved DNS JSON when you have a recorded TXT response. Enter the domain and selector to check the captured Question against the expected owner. A CNAME-only answer leaves the alias target unchecked.

Save the report with your capture. Confirm the owner, resolver label and capture time before comparing observations. To verify a message, inspect its DKIM-Signature domain and selector and verify against the signed content.

RFC 6376 DKIM key records and signature verification

Common questions

What does the DKIM s tag in a key record mean?

It lists service types for the key. In a DKIM-Signature header, s instead names the key selector.

Does the checker need the private key?

Use the public TXT data from DNS. Key decoding in the report uses the p tag only.

Sources

Put it into practice.

Related guides