Public key record
Not made yetGenerate to fill in the public key. The private key appears under it, on this page only.
- Host
- mail._domainkey.yourdomain.com
- Type
- TXT
Choose a selector and a key size. Your browser makes an RSA keypair: the public half goes in DNS, and the private half goes where your mail is signed.
Generate to fill in the public key. The private key appears under it, on this page only.
What each part of the public record says, where it goes, and where the private key goes.
mail._domainkey.yourdomain.comv=DKIM1DKIM, version 1Comes first, so receivers know the record is a DKIM key.k=rsaKey type: RSAThe type every DKIM verifier must support.p=The public keyFills in when you generate.mail._domainkeyWhere it goesThe selector, then _domainkey, then your domain. Each signature names its selector, so receivers know which key to fetch.PKCS#8 PEMThe private keyNever in DNS. It stays with you and goes where your mail is signed.Secretmail._domainkey.yourdomain.com with the public value.mail.DKIM signs your mail with a private key and lets receivers check the signature with the public one.
mail._domainkey.yourdomain.comA TXT record in DNS. Anyone can read it, and that is the point: receivers fetch it to check each signature.
PKCS#8 PEMMade in this browser tab and shown once. Copy or download it before you leave, then install it where your mail is signed.
s=mailNames the key, so one domain can publish several. A new selector lets you swap keys without a gap.
What the keys are, where they go, and what this page does with them.
No. Your browser makes the keypair with the Web Crypto API, and the private key stays on this page. Reload and it is gone, so copy or download it first.
2048, the default. RFC 8301 recommends at least 2048 bits for signing. Use 1024 only if your DNS host cannot store the longer record, even in parts. Why 1024-bit DKIM keys are being phased out
A name for the key. Receivers find the public key at selector._domainkey.yourdomain.com, using the s= tag in each signature. What is a DKIM selector?
A 2048-bit record is longer than 255 characters, the most one DNS string holds. Most DNS hosts split it for you. If yours does not, copy the version in quoted parts: the same value, split into strings of 255 or fewer.
Into whatever signs your mail: your own mail server, or the DKIM settings of a sending service, under the same selector. Many hosted services make their keys for you. If yours does, use theirs.
Not here. This tool makes RSA keys only, the type every DKIM verifier must support.
The reading behind each finding, and the checks this page leaves to a sibling tool.
Once the record is live, monitoring reads your DMARC reports and shows which of your senders pass DKIM.