Check the tag syntax of a pasted DKIM public-key DNS record without claiming message verification.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Quoted DNS chunks are joined and semicolon-delimited tag-value pairs are parsed before v, p, k, h, s, and t syntax is inspected. Duplicate or malformed tags are errors, while an empty p value is identified as a revoked key rather than a missing key.
v=DKIM1; k=rsa; h=sha256; p=QUJDRA==
{
"valid": true,
"tags": {
"version": "DKIM1",
"keyType": "rsa",
"publicKey": "QUJDRA==...",
"publicKeyLength": 8,
"hashAlgorithms": "sha256",
"serviceType": "*",
"flags": null,
"notes": null
},
"errors": [],
"warnings": [],
"rawTags": {
"v": "DKIM1",
"k": "rsa",
"h": "sha256",
"p": "QUJDRA=="
}
}
Selector-record publication reviews, mail-platform migrations, and delivery investigations separate DNS syntax from signature verification.