Skip to content

Email DNS

Is this domain ready to send email?

Check a sending domain's mail servers, SPF policy and DMARC policy in one pass, and see how many of the three receivers can rely on.

Try an example
3 of 3 checks passExample

Mail servers, an SPF policy that ends with ~all or -all, and a DMARC policy that quarantines or rejects: receivers can tell real mail from this domain apart from spoofed mail.

Mail servers (MX)
5 mxa-canary.global.inbound.cf-emailsecurity.net, 5 mxb-canary.global.inbound.cf-emailsecurity.net, 10 mxa.global.inbound.cf-emailsecurity.net, 10 mxb.global.inbound.cf-emailsecurity.net
Email provider
Not available
SPF record
Found, ends with -all
DMARC record
Policy: reject
DNSSEC
Yes
Disposable
No
API access
Unlock with a free account

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

How to read the result

The status counts how many of three checks pass: mail servers, an SPF policy that ends with ~all or -all, and a DMARC policy that quarantines or rejects. The summary under it says what the count means for your mail.

Field What it means What to do with it
Status 0, 1, 2 or 3 of 3 checks pass. Red when the domain has no working mail server, green at 3, amber otherwise. Not registered when the registry has no record of the domain. Fix the rows that are not green, starting with MX.
Mail servers (MX) The domain's MX records, preference first. Null MX when the domain declares it accepts no mail. No mail server when there is no MX record. Passes with at least one real mail server.
Email provider The service that receives the domain's mail, recognized from the MX host names. Context only. The service that sends your mail can be a different one.
SPF record Found, with the final all it ends with: -all, ~all, ?all or +all. Found with no final all when there is none to read. Missing when there is no SPF record. Passes with -all or ~all.
DMARC record The policy of the record at _dmarc plus the domain: none, quarantine or reject. Missing when there is no record. Passes with quarantine or reject.
DKIM Needs a selector. The row links to the DKIM checker. Look up the selector your sending service uses and check its key there.
DNSSEC Whether the registry reports the domain as signed with DNSSEC. Empty when the registry has no public RDAP service. Not counted. A plus for the integrity of the records above.
Disposable Yes when the domain is a temporary inbox service. A sending domain should read No.
API access Locked. The same checks from your code, for a list of sending domains. Monitor your own domains, or audit those of your customers.

Checks are free: 10 a day without an account. A free account includes 100 credits a month for the API.

How the check works

  1. Reduce the input to a domain. A domain, a URL or an email address all work. The host is reduced to its registrable domain, so news.example.com and jane@example.com are both checked as example.com. Internationalized names are converted to their ASCII form.
  2. Ask the registry. The domain is looked up over RDAP (RFC 9083) to learn whether it is registered and whether it is signed with DNSSEC. A domain the registry does not know, and that no name server answers for, is reported as Not registered.
  3. Read the mail servers. The MX records are resolved. A single MX record pointing to ., with preference 0, is a null MX (RFC 7505).
  4. Read SPF. The domain's TXT records are read and the ones starting with v=spf1 are kept. When there is exactly one, its final all mechanism and qualifier are read from the record's own text (RFC 7208).
  5. Read DMARC. The TXT record at _dmarc plus the domain is read and its p tag gives the policy (RFC 7489).
  6. Count. MX passes with at least one mail server that is not a null MX. SPF passes with a single record ending in -all or ~all. DMARC passes with p=quarantine or p=reject.

A domain's result is kept for up to 24 hours, so a record published a moment ago can take that long to show here, on top of the time-to-live of the record itself.

What the count does not cover

  • DKIM. It needs a selector, which DNS does not list. Use the DKIM checker.
  • Includes, redirects and lookup counts. This page reads the SPF record's own text. The SPF checker follows include: and redirect=, and counts the DNS lookups against the limit of 10 set by RFC 7208.
  • Subdomains. Mail sent from a subdomain is judged on that subdomain's records. Check the exact name with the SPF and DMARC checkers.
  • Alignment. DMARC passes only when SPF or DKIM passes for a domain aligned with the visible From domain. That depends on how your sending service is set up, not on DNS alone.
  • Your sending servers. Reverse DNS, TLS, blocklist listings and reputation belong to the IP addresses that send the mail, not to the domain's records.

The three checks, one by one

Mail servers

What the card shows Counted What it means
One or more MX records Yes The domain receives mail, so bounces and replies have somewhere to go.
Null MX: accepts no mail No The domain says it takes no mail at all (RFC 7505). Right for a domain that never sends.
No mail server No No MX record. RFC 5321 allows delivery to the domain's own address record in that case, but a sending domain should not rely on it.

SPF

Final all Counted What receivers do with a sender not in the record
-all Yes Fail: the sender is not authorized.
~all Yes Softfail: probably not authorized. Usually accepted and marked.
?all No Neutral: the record makes no claim.
+all No Pass: every server on the internet is authorized, which defeats the record.
No final all No The record falls back to neutral. Also shown when a redirect= replaces the all.
Missing No No SPF record.

Two SPF records on one domain are a permanent error for receivers (RFC 7208 section 4.5). This page shows SPF as found with no final all to read in that case, and does not count it.

DMARC

Policy Counted What receivers do with mail that fails
reject Yes Refuse it.
quarantine Yes Treat it as suspicious, usually by filing it as spam.
none No Nothing, beyond sending you reports if rua is set.
Missing No Apply their own judgment, with no policy from you.

A record with an invalid or missing p tag also reads as none here. The DMARC checker shows every tag, the issues it finds, and how to move from p=none to p=reject without losing mail.

What Gmail and Yahoo ask of senders since February 2024

Google's email sender guidelines and Yahoo's sender requirements took effect in February 2024. Google counts as a bulk sender anyone who sends close to 5,000 messages or more a day to personal Gmail accounts. Google's version:

Requirement All senders to Gmail Bulk senders
SPF or DKIM Required SPF and DKIM, both
DMARC record Not required Required, p=none accepted
From domain aligned with the SPF or DKIM domain Not required Required
Valid forward and reverse DNS for sending IP addresses Required Required
TLS for transmitting mail Required Required
One-click unsubscribe (RFC 8058) on marketing messages Not required Required

Yahoo published matching requirements for bulk senders at the same time. Both providers keep their current versions online, and the thresholds are theirs to change, so read them before a large send.

How the count maps to those requirements

Requirement What this page tells you
SPF Whether a record exists and how it ends. Not which servers it authorizes.
DKIM Nothing. Use the DKIM checker with your selector.
DMARC Whether a record exists and its policy. p=none meets Google's bulk minimum but does not count here.
Alignment Nothing. Check the Authentication-Results header of a message you sent.
Forward and reverse DNS Nothing. Run the sending IP through the reverse DNS lookup.
TLS, unsubscribe Nothing. They are properties of the connection and of each message.

The count is stricter than Google's minimum on DMARC and narrower than the full list. A domain at 2 of 3 with p=none and working DKIM can meet the bulk sender rules. A domain at 3 of 3 without DKIM does not.

Fix each missing piece

The records below use example.com and placeholder hosts. Replace them with the values your mail and sending providers give you.

Missing Record to publish Notes
MX example.com. MX 10 mx1.example.net. Your mail provider gives you the host names and preferences.
SPF example.com. TXT "v=spf1 include:_spf.example.net ~all" One record per domain. Add one include: per sending service, and keep under 10 DNS lookups.
DMARC _dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com" Start at p=none with reports, then move to quarantine and reject.
DKIM A TXT or CNAME record at selector._domainkey.example.com Your sending service generates the key and tells you the selector.

A safe order:

  1. Publish SPF with every service that sends for you, ending in ~all.
  2. Turn on DKIM signing with your domain in every sending service.
  3. Publish DMARC at p=none with a rua address, and read the aggregate reports for a few weeks.
  4. Fix the legitimate senders that fail, then move to p=quarantine, and later to p=reject.

The SPF, DKIM and DMARC guide walks through each record, and the MX lookup checks the mail server side in detail.

Domains that should not send mail

Parked domains, old brands and domains kept only for redirects can still be put in the From header of spoofed mail. Lock them down with three records:

example.org.         MX   0 .
example.org.         TXT  "v=spf1 -all"
_dmarc.example.org.  TXT  "v=DMARC1; p=reject"

The null MX says the domain accepts no mail, the SPF record authorizes no server, and the DMARC policy asks receivers to refuse anything that claims to come from it. This page then shows 2 of 3 with the MX row in red. For a domain that must not send or receive mail, that red row is the intended result.

Check someone else's domain

The same three records tell you how easy a domain is to impersonate. A supplier whose domain has no DMARC policy, or only p=none, gives receivers no instruction to refuse mail that fakes its From address. Treat unexpected requests from such domains with extra care, such as new bank details for invoices, and confirm them through a channel you already trust. The domain age checker adds when the domain was registered, which helps spot a look-alike domain registered last week.

Check sending domains through the API

POST /domain returns the same signals for 1 credit, together with registration dates and DNS records. Send a domain, a URL or an email address: its registrable domain is used.

json
{
  "domain": "example.com",
  "status": "registered",
  "email": {
    "mx": true,
    "null_mx": false,
    "provider": "Google Workspace",
    "spf": true,
    "spf_all": "softfail",
    "dmarc": true,
    "dmarc_policy": "quarantine",
    "disposable": false
  }
}

spf_all is fail for -all, softfail for ~all, neutral for ?all, pass for +all, and null when there is no single SPF record or no final all. To audit many domains, such as every domain your customers send from, a bulk job of type domain adds result_mx, result_mail_provider, result_spf and result_dmarc_policy to every row.

The domain reference lists every field, and the domain intelligence page covers pricing and use cases. To check the recipients rather than the sender, the bulk email verifier verifies every address of a list.

Same check through the API

One HTTPS call, one credit. The response below is the real schema returned by the API.

cURL
curl https://api.qelka.com/v1/domain \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"domain":"cloudflare.com"}'
JavaScript
const response = await fetch("https://api.qelka.com/v1/domain", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_test_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    domain: "cloudflare.com",
  }),
});
const result = await response.json();
{
  "id": "lkp_01M875D1RE89KBPYC9QGDPVNSN",
  "object": "domain",
  "input": "cloudflare.com",
  "domain": "cloudflare.com",
  "tld": "com",
  "status": "registered",
  "rdap": {
    "status": "found",
    "server": "https://rdap.verisign.com/com/v1/"
  },
  "registration": {
    "created_at": "2009-02-17T22:07:54.000Z",
    "updated_at": "2024-01-09T16:45:28.000Z",
    "expires_at": "2033-02-17T22:07:54.000Z",
    "age_days": 6488,
    "expires_in_days": 2277,
    "registrar": {
      "name": "Cloudflare, Inc.",
      "iana_id": "1910"
    },
    "statuses": [
      "client delete prohibited",
      "client transfer prohibited",
      "client update prohibited",
      "server delete prohibited",
      "server transfer prohibited",
      "server update prohibited"
    ],
    "nameservers": [
      "ns3.cloudflare.com",
      "ns4.cloudflare.com",
      "ns5.cloudflare.com",
      "ns6.cloudflare.com",
      "ns7.cloudflare.com"
    ],
    "dnssec": true
  },
  "dns": {
    "status": "NOERROR",
    "a": [
      "104.16.132.229",
      "104.16.133.229"
    ],
    "aaaa": [
      "2606:4700::6810:84e5",
      "2606:4700::6810:85e5"
    ],
    "mx": [
      {
        "priority": 5,
        "exchange": "mxa-canary.global.inbound.cf-emailsecurity.net"
      },
      {
        "priority": 5,
        "exchange": "mxb-canary.global.inbound.cf-emailsecurity.net"
      },
      {
        "priority": 10,
        "exchange": "mxa.global.inbound.cf-emailsecurity.net"
      },
      {
        "priority": 10,
        "exchange": "mxb.global.inbound.cf-emailsecurity.net"
      }
    ],
    "ns": [
      "ns3.cloudflare.com",
      "ns4.cloudflare.com",
      "ns5.cloudflare.com",
      "ns6.cloudflare.com",
      "ns7.cloudflare.com"
    ],
    "txt": {
      "records": 29,
      "spf": "v=spf1 ip4:199.15.212.0/22 ip4:173.245.48.0/20 include:_spf.google.com include:spf1.mcsv.net include:spf.mandrillapp.com include:mail.zendesk.com include:stspg-customer.com include:_spf.salesforce.com -all",
      "verifications": [
        "apple",
        "atlassian",
        "cisco",
        "facebook",
        "google",
        "microsoft",
        "miro",
        "onetrust",
        "stripe"
      ]
    }
  },
  "email": {
    "mx": true,
    "null_mx": false,
    "provider": null,
    "spf": true,
    "spf_all": "fail",
    "dmarc": true,
    "dmarc_policy": "reject",
    "disposable": false
  },
  "credits_used": 1,
  "cached": false
}

Frequently asked questions

How do I check if my domain is set up to send email?
Enter the domain, or any address or URL on it. The checker reads its mail servers, its SPF record and its DMARC policy, and counts how many of the three are in a state receivers can rely on. Then check DKIM separately with the DKIM checker, using the selector your sending service gave you. Together, those four cover the DNS side of authentication.
What does 2 of 3 checks pass mean?
One of the three pieces is missing or does not enforce anything. The usual case is a DMARC policy of p=none, or an SPF record that ends with ?all or no all at all. Look for the amber or red row: it names what is missing. Mail can still be delivered, but receivers have less to go on when someone else sends mail in your domain's name.
Why doesn't the checker test DKIM?
DKIM keys are published under a selector, a name chosen by whoever signs the mail, at selector._domainkey plus the domain. Nothing in DNS lists the selectors a domain uses, so a domain alone is not enough to find its keys. The selector appears in the s= tag of the DKIM-Signature header of a message you sent. Enter it with the domain in the DKIM checker.
Does 3 of 3 mean my emails will reach the inbox?
No. It means the domain's DNS tells receivers who may send for it and what to do with impostors. Inbox placement also depends on DKIM signing, on alignment between the From domain and the authenticated domains, on the reputation of your sending addresses and domain, on complaint rates, on the content, and on whether recipients wanted the mail. The count covers the DNS foundation, not the rest.
Is ~all good enough, or do I need -all?
Both count as a pass here. -all asks receivers to treat unlisted senders as a fail, and ~all as a softfail, which RFC 7208 describes as probably not authorized. With an enforced DMARC policy, receivers act on the DMARC result anyway, so ~all is a common and safe choice while you confirm that every legitimate sender is listed. ?all and +all do not count.
Why does a DMARC policy of p=none not count as a pass?
Because p=none asks receivers to take no action on mail that fails, so it protects nothing. It is useful as a first stage, since it starts the aggregate reports that show who sends mail as your domain. Google accepts it from bulk senders as the minimum. The count here asks for quarantine or reject, the policies that make spoofed mail land in spam or bounce.
What do Gmail and Yahoo require from senders?
Since February 2024, Google's email sender guidelines ask every sender to Gmail for SPF or DKIM, valid forward and reverse DNS and TLS. Bulk senders, close to 5,000 messages a day or more to personal Gmail accounts, also need SPF and DKIM, a DMARC record, a From domain aligned with one of them, and one-click unsubscribe. Yahoo published matching requirements for bulk senders. Read their current versions before a large send.
Why does my subdomain show the results of the main domain?
The checker reduces any input to its registrable domain, so news.example.com is checked as example.com. Mail sent from a subdomain is judged on that subdomain's own records first: its own SPF record, and a DMARC record at its own name, falling back to the main domain's policy (RFC 7489). Check the exact name with the SPF checker and the DMARC checker.
My SPF record ends with redirect=. Why does it show no final all?
This page reads only the all written in the record itself. A record that ends with a redirect= modifier takes its result from the record it points to, so its own text has no final all, and the SPF row is not counted as a pass. The SPF checker follows redirects and includes, counts the DNS lookups and shows the result that applies.
What happens if my domain has two SPF records?
Receivers treat it as a permanent error: RFC 7208 section 4.5 says a domain must publish at most one SPF record, and two make SPF fail for every message. This page shows SPF as found but cannot read a final all, so it does not count the row. Merge both records into one, with every mechanism you need and a single all at the end.
Why is MX part of a check for sending?
Mail sent from a domain gets answers: bounces go back to the envelope sender, and recipients reply. A domain with no mail server cannot receive any of that, so problems go unseen and people who answer get a bounce. RFC 5321 does allow delivery to the domain's address records when no MX exists, but a sending domain should publish MX records explicitly.
I just published a record. Why doesn't it show yet?
Two caches sit in the way. DNS resolvers keep answers for the time-to-live set on each record, and this page keeps a domain's result for up to 24 hours. A record published minutes ago can take that long to appear here. The TXT record lookup shows the raw TXT records of a name, which helps confirm that the change is live.
What does DNSSEC have to do with deliverability?
It is not part of the count or of the Gmail and Yahoo requirements. DNSSEC signs a domain's DNS answers, so a resolver can tell a forged answer from a real one, which protects your MX, SPF and DMARC records in transit. The row shows whether the registry reports the domain as signed. It reads empty when the registry has no public RDAP service.
Should a domain that never sends mail have SPF and DMARC?
Yes. A domain without records can be put in the From header of spoofed mail, and receivers have nothing to check it against. For a domain that never sends or receives mail, publish a null MX (RFC 7505), an SPF record of v=spf1 -all and a DMARC policy of p=reject. This page then shows the MX row in red, which is expected for such a domain.
What does the Email provider row tell me?
It names the service that receives mail for the domain, recognized from its MX host names, such as Google Workspace or Microsoft 365. It does not name the service that sends your newsletters or receipts, which can be different and must be authorized in your SPF record and set up for DKIM. The MX lookup shows every MX record with its priority.

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