Surftec customers will be recognised automatically when they use these tools from their office network.
Customer sign-in is coming soon.
DKIM checker and record maker
Find the DKIM keys a domain publishes, check each against the limits, and turn the key or CNAME your mail system gives you into the DNS entry to add.
The limits DKIM sets
Limit
Used now
Allowed
Status
Where it is set
Key size, smallest accepted (bits) A signature made with an RSA key under 1024 bits must be treated as no signature.
–
1024 or more
Note
RFC 8301 §3.2
Key size, recommended (bits) Signers should use at least 2048-bit RSA keys.
–
2048 or more
Note
RFC 8301 §3.2
Key size, largest every receiver handles (bits) Receivers must verify keys up to 4096 bits; a longer key may not verify everywhere.
–
4096 or less
Note
RFC 6376 §3.3.3
Characters in one TXT string Fits in one string.
–
255
Note
RFC 1035, RFC 6376 §3.6.2.2
Selector length (characters in one part)
–
63
Note
RFC 1035
Whole name length (characters)
–
253
Note
RFC 1035
CNAME steps to the key Microsoft 365 and most senders use 1.
–
4
Note
This tool; resolvers vary
Selectors for a domain Any number: each sending service has its own, and old ones stay until rotated out.
–
No fixed limit
Note
RFC 6376 §3.1
Used now is counted from live DNS at the time of this check. A record over a limit is treated as broken by receiving mail systems, not as partly working.
Test with a real emailNothing is uploaded
Send an email from the domain to a mailbox you can open elsewhere (Gmail or Outlook.com work well), view the message source or headers there, and paste them here. The headers are read in your browser and are not sent to Surftec.
About this tool
DKIM (DomainKeys Identified Mail, RFC 6376) signs each email with a private key held by the system that sends it. The matching public key is published in DNS under a selector, a name such as selector1 or google, so a receiver can check the signature. Each service that sends your email has its own selector, and a domain can have any number.
The limits are on the key. RSA keys under 1024 bits must be treated as no signature at all; 2048 bits is the recommended minimum (RFC 8301); and receivers need only handle keys up to 4096 bits. A 2048-bit key is about 400 characters, more than the 255 one TXT string holds, so it must be stored as two strings: the most common reason a pasted key does not work. The checker measures each key and shows the figures beside the limits.
A DKIM record cannot be written by hand, because the key is made by the system that signs. The page gives the steps for Microsoft 365 and Google Workspace, and the record maker takes the CNAME target or public key those systems give you, checks it, and writes the DNS entry in the right form. Only public keys go in: this site never makes or asks for a private key.
Common questions
What is a DKIM selector?
The name of one key. It is the s= value in the DKIM-Signature header of an email, and the key is published at selector._domainkey.yourdomain. Microsoft 365 uses selector1 and selector2, Google Workspace uses google unless you choose another.
How do I find which selector my email uses?
DNS has no list of selectors. Send yourself an email, open its headers and paste them into the header test on this page: it reads the selector from the signature and links to a check of that key.
Why does Microsoft 365 need two CNAME records?
Microsoft signs with selector1 and selector2 in turn so it can replace a key without breaking mail in transit. Both must be published before DKIM can be switched on for the domain.
Is a 1024-bit DKIM key still acceptable?
It still verifies, but 2048 bits has been the recommended minimum since 2018. Replace 1024-bit keys when you can. Keys shorter than 1024 bits are refused.
My DNS host rejects the key as too long. What now?
One TXT string holds 255 characters. Use the split form shown with the DNS entry, which is the same key as two quoted strings. Receivers join them back together.
Does DKIM passing mean DMARC passes?
Only when the signature is for the same domain as the From address. A service that signs with its own domain passes DKIM but does not count for your DMARC.