Email DNS
Grade the email authentication of a domain
Check SPF, DMARC, DKIM, MTA-STS, TLS-RPT, BIMI and MX in one go, get a grade from A to F, and the exact DNS records to publish to fix each problem.
The register is slow to answer. Still checking…
Score 89 out of 100. Fixes: 4, of which critical: 0.
- MXMicrosoft 365
- SPF~all · 10/10 lookups
- DMARCp=quarantine
- DKIM9 keys
- MTA-STSMissing
- TLS-RPTMissing
- BIMIMissing
Fixes, most important first
- DKIMSuggestionThese DKIM keys are shorter than 2048-bit RSA: selector1._domainkey.github.com (1024-bit), k1._domainkey.github.com (1024-bit), mailo._domainkey.github.com (1024-bit), cm._domainkey.github.com (1024-bit). Rotate to 2048-bit keys from your sending service.
- MTA-STSSuggestionWithout MTA-STS, a network attacker can strip TLS from mail sent to github.com. Serve https://mta-sts.github.com/.well-known/mta-sts.txt with the lines version: STSv1, mode: testing, mx: github-com.mail.protection.outlook.com, max_age: 604800, then publish this record. Switch to mode: enforce once TLS reports are clean.
TXT _mta-sts.github.com v=STSv1; id=202611261803
- TLS-RPTSuggestionPublish a TLS-RPT record so sending servers report TLS failures when delivering to github.com.
TXT _smtp._tls.github.com v=TLSRPTv1; rua=mailto:<tls-reports@github.com>
- BIMISuggestionDMARC is enforced, so github.com can show its logo next to messages with BIMI. Publish the logo as an SVG Tiny PS file over HTTPS; Gmail and Apple Mail also need a Verified Mark Certificate or Common Mark Certificate (a=).
TXT default._bimi.github.com v=BIMI1; l=<https://github.com/logo.svg>; a=<https://github.com/mark-certificate.pem>
- Domain
- github.com
- Mail servers (MX)
- 0 github-com.mail.protection.outlook.com
- SPF record
- v=spf1 ip4:192.30.252.0/22 ip4:172.170.10.240/28 ip4:40.78.162.192/28 ip4:172.170.3.48/28 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all
- DNS lookups
- 10 / 10
- DMARC record
- v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:dmarc@github.com; ruf=mailto:dmarc@github.com; fo=1
- Aggregate reports
- mailto:dmarc@github.com
- DKIM keys
- google (RSA, 2048-bit), selector1 (RSA, 1024-bit), k1 (RSA, 1024-bit), k2 (RSA, 2048-bit), k3 (RSA, 2048-bit), s1 (RSA, 2048-bit), s2 (RSA, 2048-bit), mailo (RSA, 1024-bit), cm (RSA, 1024-bit)
- DKIM selectors checked
- 28
- MTA-STS
- Not available
- TLS-RPT
- Not available
- BIMI
- Not available
- API access
- Unlock with a free account
How to read the result
The grade sums up the score out of 100. The tiles show each check at a glance, then the fixes come in order of importance, with the exact record to publish when one is needed:
| Check | What is read |
|---|---|
| MX | The mail servers of the domain and the provider they belong to; a null MX means the domain receives no mail |
| SPF | The SPF record, its final all mechanism and the DNS lookups it needs, out of 10 |
| DMARC | The policy at _dmarc, the share of mail it applies to and where reports go |
| DKIM | Public keys found on 28 common selectors, with their type, size and testing flag |
| MTA-STS | The record at _mta-sts and the policy file at mta-sts.your-domain, with its mode |
| TLS-RPT | The record at _smtp._tls and where TLS failure reports go |
| BIMI | The record at default._bimi, which lets some inboxes show your logo |
How the grade is computed
The score starts at 100 and each problem takes points off. The main ones:
| Problem | Points |
|---|---|
| No DMARC record | 30 |
| No SPF record | 25 |
| Several SPF or DMARC records | 20 |
| SPF ends with +all | 15 |
| SPF above 10 lookups, or a syntax error | 15 |
| DMARC policy p=none | 15 |
| No DKIM key found, or a broken key | 10 |
| SPF ends with ?all or no all | 8 |
| No DMARC report address, pct below 100, no MX, no MTA-STS | 5 each |
| Short DKIM key, DKIM in testing, MTA-STS in testing, no TLS-RPT | 3 each |
Then caps apply: without SPF and DMARC the score is at most 39, without one of them at most 59, and without an enforced DMARC policy at 100% at most 89. A is 90 and above, B 75, C 60, D 40 and F below 40. Domains that send no mail, with no MX and an SPF record of -all only, are graded on SPF and DMARC alone.
Limits
- DKIM keys on custom selectors are only found when you pass them to the API.
- Only DNS and the MTA-STS policy file are read: no message is sent, so alignment of real messages is not tested.
- A BIMI logo also needs a mark certificate for most inboxes; the checker reads the record, not the certificate.
Related checks
Look at each record in detail with the SPF checker, the DMARC checker and the DKIM checker, and check the mail servers with the MX lookup.
Grade domains from your code
The email authentication API returns the grade, every check and the fixes with their records in JSON, for 1 credit per domain, cached 1 hour. Pass up to 10 selectors of your own. Grade every customer domain in a bulk job. See the API reference.
Same check through the API
One HTTPS call, one credit. The response below is the real schema returned by the API.
curl https://api.qelka.com/v1/email/auth \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"domain":"github.com"}'const response = await fetch("https://api.qelka.com/v1/email/auth", {
method: "POST",
headers: {
Authorization: "Bearer sk_test_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
domain: "github.com",
}),
});
const result = await response.json();{
"id": "lkp_01M8CGD47HPCSHCN5SVATD9ZRX",
"object": "email_auth",
"input": "github.com",
"domain": "github.com",
"grade": "B",
"score": 89,
"mx": {
"status": "NOERROR",
"records": [
{
"priority": 0,
"exchange": "github-com.mail.protection.outlook.com"
}
],
"null_mx": false,
"provider": "Microsoft 365"
},
"spf": {
"record": "v=spf1 ip4:192.30.252.0/22 ip4:172.170.10.240/28 ip4:40.78.162.192/28 ip4:172.170.3.48/28 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all",
"records_found": 1,
"valid": true,
"all": "softfail",
"mechanisms": [
{
"qualifier": "+",
"type": "ip4",
"value": "192.30.252.0/22"
},
{
"qualifier": "+",
"type": "ip4",
"value": "172.170.10.240/28"
},
{
"qualifier": "+",
"type": "ip4",
"value": "40.78.162.192/28"
},
{
"qualifier": "+",
"type": "ip4",
"value": "172.170.3.48/28"
},
{
"qualifier": "+",
"type": "include",
"value": "spf.protection.outlook.com"
},
{
"qualifier": "+",
"type": "include",
"value": "_netblocks.google.com"
},
{
"qualifier": "+",
"type": "include",
"value": "_netblocks2.google.com"
},
{
"qualifier": "+",
"type": "include",
"value": "mail.zendesk.com"
},
{
"qualifier": "+",
"type": "include",
"value": "_spf.salesforce.com"
},
{
"qualifier": "+",
"type": "include",
"value": "servers.mcsv.net"
},
{
"qualifier": "+",
"type": "include",
"value": "mktomail.com"
},
{
"qualifier": "+",
"type": "include",
"value": "sendgrid.net"
},
{
"qualifier": "+",
"type": "ip4",
"value": "62.253.227.114"
},
{
"qualifier": "+",
"type": "ip4",
"value": "166.78.69.169"
},
{
"qualifier": "+",
"type": "ip4",
"value": "166.78.69.170"
},
{
"qualifier": "+",
"type": "ip4",
"value": "166.78.71.131"
},
{
"qualifier": "~",
"type": "all",
"value": null
}
],
"dns_lookups": 10,
"lookup_limit": 10,
"issues": []
},
"dmarc": {
"record": "v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:dmarc@github.com; ruf=mailto:dmarc@github.com; fo=1",
"valid": true,
"policy": "quarantine",
"subdomain_policy": "reject",
"pct": 100,
"rua": [
"mailto:dmarc@github.com"
],
"ruf": [
"mailto:dmarc@github.com"
],
"adkim": "r",
"aspf": "r",
"issues": []
},
"dkim": {
"selectors_checked": [
"google",
"selector1",
"selector2",
"k1",
"k2",
"k3",
"s1",
"s2",
"default",
"dkim",
"mail",
"smtp",
"mandrill",
"mxvault",
"zmail",
"zoho",
"protonmail",
"protonmail2",
"protonmail3",
"fm1",
"fm2",
"fm3",
"sig1",
"mailjet",
"krs",
"mailo",
"cm",
"everlytickey1"
],
"keys": [
{
"selector": "google",
"valid": true,
"key_type": "rsa",
"key_bits": 2048,
"testing": false,
"revoked": false,
"issues": []
},
{
"selector": "selector1",
"valid": true,
"key_type": "rsa",
"key_bits": 1024,
"testing": false,
"revoked": false,
"issues": [
"short_key"
]
},
{
"selector": "k1",
"valid": true,
"key_type": "rsa",
"key_bits": 1024,
"testing": false,
"revoked": false,
"issues": [
"short_key"
]
},
{
"selector": "k2",
"valid": true,
"key_type": "rsa",
"key_bits": 2048,
"testing": false,
"revoked": false,
"issues": []
},
{
"selector": "k3",
"valid": true,
"key_type": "rsa",
"key_bits": 2048,
"testing": false,
"revoked": false,
"issues": []
},
{
"selector": "s1",
"valid": true,
"key_type": "rsa",
"key_bits": 2048,
"testing": false,
"revoked": false,
"issues": []
},
{
"selector": "s2",
"valid": true,
"key_type": "rsa",
"key_bits": 2048,
"testing": false,
"revoked": false,
"issues": []
},
{
"selector": "mailo",
"valid": true,
"key_type": "rsa",
"key_bits": 1024,
"testing": false,
"revoked": false,
"issues": [
"short_key"
]
},
{
"selector": "cm",
"valid": true,
"key_type": "rsa",
"key_bits": 1024,
"testing": false,
"revoked": false,
"issues": [
"short_key"
]
}
]
},
"bimi": {
"record": null,
"valid": false,
"logo_url": null,
"authority_url": null,
"issues": []
},
"mta_sts": {
"record": null,
"id": null,
"policy_status": null,
"mode": null,
"max_age": null,
"mx": [],
"issues": []
},
"tls_rpt": {
"record": null,
"valid": false,
"rua": [],
"issues": []
},
"fixes": [
{
"code": "rotate_dkim_key",
"severity": "info",
"area": "dkim",
"message": "These DKIM keys are shorter than 2048-bit RSA: selector1._domainkey.github.com (1024-bit), k1._domainkey.github.com (1024-bit), mailo._domainkey.github.com (1024-bit), cm._domainkey.github.com (1024-bit). Rotate to 2048-bit keys from your sending service.",
"record": null
},
{
"code": "add_mta_sts",
"severity": "info",
"area": "mta_sts",
"message": "Without MTA-STS, a network attacker can strip TLS from mail sent to github.com. Serve https://mta-sts.github.com/.well-known/mta-sts.txt with the lines version: STSv1, mode: testing, mx: github-com.mail.protection.outlook.com, max_age: 604800, then publish this record. Switch to mode: enforce once TLS reports are clean.",
"record": {
"name": "_mta-sts.github.com",
"type": "TXT",
"value": "v=STSv1; id=202611261803"
}
},
{
"code": "add_tls_rpt",
"severity": "info",
"area": "tls_rpt",
"message": "Publish a TLS-RPT record so sending servers report TLS failures when delivering to github.com.",
"record": {
"name": "_smtp._tls.github.com",
"type": "TXT",
"value": "v=TLSRPTv1; rua=mailto:<tls-reports@github.com>"
}
},
{
"code": "add_bimi",
"severity": "info",
"area": "bimi",
"message": "DMARC is enforced, so github.com can show its logo next to messages with BIMI. Publish the logo as an SVG Tiny PS file over HTTPS; Gmail and Apple Mail also need a Verified Mark Certificate or Common Mark Certificate (a=).",
"record": {
"name": "default._bimi.github.com",
"type": "TXT",
"value": "v=BIMI1; l=<https://github.com/logo.svg>; a=<https://github.com/mark-certificate.pem>"
}
}
],
"checked_at": "2026-11-26T18:03:10.448Z",
"credits_used": 1,
"cached": false
}Frequently asked questions
What do Gmail and Yahoo require from bulk senders?
Why is my grade capped at B?
Why does it say no DKIM key was found when I sign my mail?
What is the SPF 10-lookup limit?
Do I need MTA-STS and TLS-RPT?
What do the values in angle brackets mean?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time