Blocklist Hit or DNS Heuristic? Reading the Full API Response

  • Autor de la entrada:
  • Publicación de la entrada:
  • Categoría de la entrada:blog

Most integrations treat a disposable email checker as a yes/no machine: send the address, read the boolean, decide whether to accept the sign-up. That works until a legitimate customer on a corporate catch-all domain gets rejected, or a burner email sails through because the provider registered a fresh domain the blocklist has not caught yet. The boolean hides the reason. A well-built API response does not: it carries a disposable flag, a risk score, domain metadata, and often separate signals for blocklist matches versus DNS heuristics, and the difference between those two paths is where every useful debugging clue lives.

The distinction matters because the two verdicts have different failure modes. A hit against a disposable email domains list is high confidence and easy to audit, since someone, whether a maintainer or an automated scraper, explicitly named that domain. A heuristic verdict built from MX-host classification, catch-all detection, or role-account patterns is a probability, not a fact, and it will misfire on shared hosting and small businesses more often than any curated list will. When you log only the disposable boolean, you cannot tell which path produced the rejection, so you cannot tune thresholds, whitelist a false positive with confidence, or notice that a stale entry in an email domain blocklist is quietly costing you sign-ups.

The thesis here is simple: persist the full payload, read the fields in order, and treat list matches and heuristic hits as separate evidence streams rather than one blended answer. The rest of this piece walks through what a typical JSON response actually contains, how vendors assemble their disposable email domains lists, which DNS signals drive heuristic verdicts, how to structure logging so a false positive can be traced to its source, and how to re-verify against domain list drift without hammering your validation API on every request.

Anatomy of a Disposable Email Checker API Response

Most integrations read one field from the response and throw the rest away. That single boolean is the least interesting part of the payload. Here is what a typical disposable email checker API actually sends back, and what each field tells you about how the verdict was reached.

The core verdict usually looks like this:

The disposable boolean is the headline answer: did the domain match a known disposable email domains list? On its own it is binary and unforgiving. A domain is either on the list or it is not, and the list changes daily. FakeFilter publishes an automated list of temp-mail providers daily, and amieiro/disposable-email-domains regenerates aggregated deny and allow lists every 15 minutes. So the same address can flip between true and false across a weekend without anyone editing your code.

The risk_score is a 0 to 100 composite, usually blending blocklist membership, domain age, MX reputation, and catch-all behavior. Treat it as a ranking signal, not a gate. A score of 70 on a corporate domain with a catch-all MX is a very different animal from a score of 70 on a host that appeared in a burner-email-providers style list last Tuesday.

The reason field, when the vendor exposes it, is the one that matters most for debugging. Values like «blocklist», «mx_heuristic», «catch_all», or «role_account» tell you which pipeline stage fired. Without it you are guessing. Vendors that omit it force you to infer the cause from the other fields, which is exactly why persisting the full payload pays off later.

Domain metadata fields come next. mx_found confirms the domain accepts mail at all. mx_host names the mail exchanger, which is often a shared host serving hundreds of throwaway domains. catch_all flags domains that accept any local part, a common trait of temporary email services and also of misconfigured corporate servers. role_account marks addresses like admin@ or sales@, which are legitimate but rarely belong to a real sign-up. free_provider separates Gmail and Outlook from the disposable pool.

Finally, blocklist_source or an equivalent provenance field names which list produced a hit. The open-source ecosystem is fragmented: MailChecker supports over 55,000 throwable email domains, disposable-email-domains is a community blocklist plus an allowlist licensed under CC0, and ivolo/disposable-email-domains is no longer maintained. Knowing which list your vendor pulled from tells you how stale a given verdict might be.

How Disposable Email Domain Lists and Blocklist Hits Are Determined

A blocklist hit is the simplest thing a disposable email checker can report, and the easiest to misread. At its core, the vendor has a set of domain strings. Your domain is normalized to lowercase, punycode is resolved, and the label is compared against that set, which is how a vendor can check if a domain is disposable. Match means disposable. No match means the check moves on to DNS heuristics. The boolean you receive looks identical in both cases, which is why the provenance matters.

Where the set comes from varies a lot by vendor, and so does its freshness. Some lists are hand-curated and conservative, accepting only domains with a public sign-up page and a working inbox. Others are scraped at scale. FakeFilter publishes an automated list of temp-mail providers daily, and offers an online API at fakefilter.net. MailChecker supports over 55,000 throwable email domains across several language ecosystems. burner-email-providers is a plain list of temporary providers with no scoring attached. amieiro/disposable-email-domains regenerates aggregated deny and allow lists every 15 minutes, which is about as close to real time as open-source data gets. The well-known ivolo/disposable-email-domains is no longer maintained, and integrations built on it years ago are quietly running on a stale snapshot. disposable-email-domains is a community blocklist plus an allowlist, and it is licensed under CC0, so you can vendor it into your own pipeline without legal friction.

That allowlist deserves attention. Most mature lists carry one, and it exists because aggregators make mistakes: a shared hosting MX, a privacy-forward mail provider, or a legitimate corporate domain gets swept in. When a vendor checks a domain, an allowlist entry should override a deny entry. If your provider does not expose which list fired, you cannot tell whether a false positive came from a bad deny entry or an under-specified allow entry.

Why a List Match Is a Different Verdict From a Heuristic Score

A direct match is deterministic. The domain is either in the list or it is not, and the confidence is high because someone, or some crawler, observed that domain handing out inboxes. Heuristic verdicts are probabilistic by construction: an MX record pointing at a known temp-mail host, a catch-all server accepting every address, a local part like info@ on a free provider. Each signal raises a risk score; none of them proves intent.

The practical difference shows up in your error budget. A list hit on a domain you have never seen is worth blocking. A heuristic hit on a corporate catch-all may be a real customer behind a misconfigured mail server. Vendors that flatten both into disposable: true hand you a decision without the evidence, and your support queue pays for it. Ask what the payload reports: a blocklist flag, a domain reputation tier, or a bare boolean. The first two can be tuned with a threshold. The third cannot be tuned at all.

DNS Heuristics: MX-Host Classification, Catch-All Status, and Role-Account Detection

The disposable boolean is the field everyone reads. The fields underneath it explain why the boolean says what it says. When a checker returns disposable: true for a domain that is not on any published list, the verdict almost always came from DNS, not from a blocklist match. Three signals do most of that work.

MX-host classification. The checker resolves the domain’s MX records and compares the mail exchangers against infrastructure known to serve temporary email. A domain like mail.example-temp.net pointing at a shared MX host that fronts dozens of throwaway brands is a strong tell even when the domain itself is brand new and absent from every list. Vendors maintain their own mapping of MX hosts to provider families, and that mapping is often more current than the domain lists themselves, because a temp-mail operator can spin up a new domain in minutes but rarely changes its mail infrastructure. The response usually exposes this as a separate field, something like mx_host or a provider tag, so you can see the classification rather than infer it.

Catch-all status. A catch-all domain accepts mail for any local part, so anything@domain.tld passes SMTP. Many disposable services run catch-alls because it lets them hand out unlimited addresses without provisioning. The problem: plenty of legitimate small businesses and misconfigured corporate mail servers also run catch-alls. A catch-all flag alone should never flip the disposable verdict. It is a risk multiplier. Read it as «the mailbox itself proves nothing,» which means any downstream email verification you run cannot confirm the address exists.

Role-account detection. Addresses like admin@, info@, sales@, or noreply@ are not disposable, but they are poor sign-up identities. They route to shared inboxes, get scraped, and rarely belong to a single person. Checkers that return a role or free_provider flag are giving you segmentation data for fraud scoring, not a disposable verdict. Mixing the two up is a common integration bug: teams block every role account and lose legitimate B2B sign-ups from small companies whose only address is info@.

Why these fields outlive the disposable flag

List-based verdicts go stale. A domain removed from a list, or a provider that shuts down, changes the boolean overnight. DNS signals describe the domain’s actual mail behavior right now, so they stay useful when the list lags. They also let you build graduated responses instead of a binary block: allow but require email verification for catch-all corporate domains, soft-flag role accounts for manual review, hard-block only on MX-host matches to known temp providers. Persist these fields alongside the boolean, and a disputed block becomes a five-minute lookup instead of an argument.

Logging the Full Payload to Separate Blocklist Hits from Heuristic Hits

A support ticket lands: a paying customer cannot sign up. The sign-up form rejected them as disposable. You look at your logs and find a single stored value: disposable: true. That is the entire forensic trail. You cannot tell whether the address matched an entry in a disposable email domains list or tripped a DNS heuristic, so you cannot decide whether to trust the verdict, override it, or file a bug with the vendor.

The fix is unglamorous. Persist the whole JSON response, not the boolean you happened to need on day one. A typical payload carries the disposable flag, a risk score, the matched domain, a source or reason field, MX host data, catch-all status, and role-account flags. Each of those is a clue. Stored together, they let you reconstruct exactly why a given mailbox was rejected months after the fact, when the vendor’s list has already moved on.

The reason this matters is that the two verdict paths fail in completely different ways. A direct match against a disposable email domains list is deterministic. Either the domain is in the blocklist or it is not. If it is a stale entry, you can spot it instantly: the reason field names the list, and the domain looks legitimate. Heuristic hits are probabilistic. A shared MX host, a catch-all configuration, or a role-account local part like info@ can push a score past a threshold even when the domain is a real business.

Store at least these fields per decision: timestamp, the full address or a hash of it, the raw response body, the vendor list version or ETag if exposed, and the threshold you applied. Keep the raw body as JSON rather than flattening it into columns. Schemas change. Vendors add fields such as domain reputation scores or allowlist overrides, and a JSON column absorbs that without a migration.

Signal in payloadVerdict typeTypical failure modeDebug action
Domain found in blocklistDeterministicStale or over-broad list entryCheck list version, request blocklist removal
MX host classified as temp providerHeuristicShared hosting MXAdd domain to allow list
Catch-all detectedHeuristicLegitimate corporate domainLower weight, re-verify
Role account (sales@)HeuristicReal employee mailboxTreat as warning, not block

Two practical rules keep the log useful. First, log the decision, not just the response: record which threshold you compared against, because a risk score of 0.6 is a pass under one policy and a block under another. Second, tag every rejection with its origin, list match or heuristic, so a weekly query can count how many blocks came from each path. When list matches dominate your false positives, you have a blocklist problem. When heuristics dominate, you have a tuning problem. Without the full payload, you have neither, only a boolean and a guess.

Tuning Your Integration Against False Positives and Domain List Drift

Caching, Re-verification, and Threshold Settings That Survive List Drift

Every disposable email domains list decays. A domain that hosted a throwaway service in March can be a legitimate business mailbox by September, and the reverse happens just as fast when a temp-mail operator rotates infrastructure. Treat any single lookup as a snapshot, not a verdict for all time. The practical fix is to cache the full API response with a timestamp and a TTL you control, then re-verify on a schedule that matches your risk profile.

A workable default: cache blocklist-match results for 30 days, because a direct hit against a maintained list is high confidence and unlikely to flip. Cache heuristic-only results for 7 days or less, since MX-host classification and catch-all status can change with a single DNS edit. Cache clean results for 14 days. If your volume is low, shorten all three. If you run a high-traffic sign-up form, longer TTLs cut API cost but widen the window for stale data.

Re-verification matters most for domains you previously blocked. Keep a small queue of blocked domains that later produced legitimate user activity, such as a password reset or a support reply, and re-run them through the checker weekly. When the verdict flips to clean, promote the domain to an internal allow list so your email filtering does not keep punishing real customers.

Thresholds deserve the same discipline. A risk score of 0.7 means something different depending on which signal fired. Set separate rules: hard block on a direct disposable email domains list match, soft challenge (CAPTCHA or manual review) on heuristic-only hits above your score cutoff, and allow on everything else. That split keeps catch-all corporate domains from getting caught in a blanket block, since catch-all status alone is a weak signal. Plenty of mid-size companies run catch-all mail servers for legitimate reasons.

Watch for blocklist removal requests, too. Vendors differ on how fast they act. Community lists such as disposable-email-domains are CC0 and updated by pull request, so a false positive can sit for days. Aggregators like amieiro/disposable-email-domains regenerate deny and allow lists every 15 minutes, which is faster but still inherits upstream errors. FakeFilter publishes an automated list of temp-mail providers daily through its API at fakefilter.net, so its freshness is good but its breadth is narrower. If you rely on an abandoned project like ivolo/disposable-email-domains, which is no longer maintained, expect permanent false positives and plan a migration.

Two operational habits close the loop. First, log the source of every block (list match versus DNS heuristic) so you can measure false-positive rates per source and deprioritize noisy ones. Second, review your thresholds quarterly against real bounce and abuse data. Lists drift, DNS drifts, and your cutoff should drift with them rather than staying frozen at whatever value you shipped on day one.

Start with one change you can ship this week: log the raw JSON response for every address you check, not just the disposable boolean. Keep the domain, the verdict source (list match versus DNS heuristic), the risk score, the MX host, and the catch-all flag in a single row. Once that table has a few thousand rows, filter for sign-ups your support team flagged as legitimate and look at which field put them in the reject pile. In most audits the answer is a catch-all corporate domain tripping a heuristic, not a genuine disposable email domains list hit. That distinction is the whole ballgame, because a list match means you can seek blocklist removal or add an allowlist exception, while a heuristic hit means you tune a threshold.

Then pick your sources deliberately. FakeFilter publishes an automated list of temp-mail providers daily and runs an online API at fakefilter.net; amieiro/disposable-email-domains regenerates aggregated deny and allow lists every 15 minutes; disposable-email-domains is a community blocklist plus an allowlist under CC0; MailChecker tracks over 55,000 throwaway domains. Note that ivolo/disposable-email-domains is no longer maintained, so any pipeline still pulling from it is matching against a frozen snapshot. If you only need a quick sanity check before wiring up an email validation API, DeBounce offers a free disposable-check endpoint without an API key. Whatever you choose, schedule a monthly diff of your vendor’s list against a second source and log the domains that appear in one but not the other. Those deltas are your early warning for domain list drift, and they tell you whether a sudden spike in blocks is real abuse or a stale entry that slipped into the email domain blocklist. Run the audit once, keep the full payload, and the false-positive debugging gets a lot shorter.