How DKIM works
Your email provider signs each outgoing message with a private key. The matching public key is published in your DNS at <selector>._domainkey.yourbusiness.com, where the selector is a name your provider chooses. A receiving server looks up that key and checks the signature.
google._domainkey.yourbusiness.com TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEF..."
The long value after p= is the public key. A record with an empty p= means the key was revoked, so it doesn't count as signing.
How Nightkeep checks DKIM
DKIM can't be discovered from your domain alone, because only your provider knows which selector it uses. Nightkeep looks for keys at the selectors used by the common providers:
selector1andselector2(Microsoft 365)google(Google Workspace)selector1-azurecomm-prod-netandselector2-azurecomm-prod-net(Azure Communication Services)default,k1,s1,s2,dkim, andmail(other common providers and newsletter tools)
- A key with a value: your outgoing email is digitally signed.
- No key found: "We couldn't confirm your outgoing email is signed." This is a low-severity warning, because your provider may use a selector we don't look for. Confirm in your provider's admin settings.
Turning on DKIM
You don't create the key yourself. Your email provider generates it and tells you which DNS record to add:
- Microsoft 365: two CNAME records, then enable signing in the Microsoft Defender portal. See our Microsoft 365 guide.
- Google Workspace: one TXT record at
google._domainkey, then "Start authentication" in the Admin console. See our Google Workspace guide. - Newsletter and marketing tools: most have a "domain authentication" page with their own records to add.
DKIM matters most together with DMARC: a DKIM signature that matches your From domain is one of the two ways a message passes DMARC.