惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 【当耐特】
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
小众软件
小众软件
The Cloudflare Blog
T
Tailwind CSS Blog
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
美团技术团队
WordPress大学
WordPress大学
罗磊的独立博客
Microsoft Azure Blog
Microsoft Azure Blog
A
About on SuperTechFans
Last Week in AI
Last Week in AI
月光博客
月光博客
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
GbyAI
GbyAI
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Stop Paying for Email Verification APIs — A Zero-Cost DNS...
Rumblingb · 2026-05-15 · via DEV Community

Rumblingb

Stop Paying for Email Verification APIs — A Zero-Cost DNS Approach

Most email verification APIs charge $0.005-0.01 per check. At 10,000 signups a month, that's $50-100 — before you've made a cent.

Here's the thing: you don't need them. DNS already has the answers.

How Email Verification Actually Works

When you type user@gmail.com, three things matter:

  1. Syntax — is it even a valid email format?
  2. Domain — does gmail.com have MX records? (DNS)
  3. Mailbox — does user exist on that server? (SMTP)

Steps 1 and 2 cost you nothing. Step 3 requires an SMTP handshake, but most services skip it anyway — it's slow, unreliable, and many servers don't even respond.

So 80% of "verification" is just DNS queries.

The DNS Trick

dig gmail.com MX +short
# 10 alt1.gmail-smtp-in.l.google.com.
# 20 alt2.gmail-smtp-in.l.google.com.

Enter fullscreen mode Exit fullscreen mode

No MX records? The domain can't receive email. That's a definitive bounce.

Add a disposable domain check and you've already caught:

  • Typos (gmai.com → no MX → invalid)
  • Disposable inboxes (mailinator.com → known pattern)
  • Non-existent domains (asdfghjkl.com → NXDOMAIN)

Why I Built This as an MCP Server

I wanted my AI agents to verify emails without API keys, rate limits, or monthly bills. So I built Email Verify MCP — it runs DNS queries locally and exposes them as MCP tools.

Any agent (Claude, Cursor, Goose) can call:

verify_email("test@gmail.com")
 { valid: true, domain: "gmail.com", has_mx: true, disposable: false }

Enter fullscreen mode Exit fullscreen mode

No API key. No rate limit. No cost.

The Architecture

Agent → MCP Protocol → Email Verify Server → DNS Resolver
                                              ↓
                                     MX, A, TXT records
                                              ↓
                                     Validation result

Enter fullscreen mode Exit fullscreen mode

The server uses Node.js dns.promises module — no external dependencies, no network calls (except DNS), no third-party API.

Free tier: 50 verifications/day. Pro tier ($19/mo): 1,000/month. That's $0.019 per check at scale — 2-5x cheaper than commercial APIs.

What I Learned Shipping This

Build what agents need. AI agents are the new power users. They don't care about pretty dashboards — they need programmatic access.

DNS is underrated. Most verification problems are DNS problems in disguise. MX records, SPF, DKIM, DMARC — all free to query.

MCP is the distribution channel. Instead of building yet another SaaS, I built an MCP server. Now 27 servers on Smithery act as a discovery network.

Try It

npm install -g @rumblingb/email-verify-mcp

Enter fullscreen mode Exit fullscreen mode

Or add it to your Claude/Cursor MCP config:

{
  "mcpServers": {
    "email-verify": {
      "command": "npx",
      "args": ["-y", "@rumblingb/email-verify-mcp"]
    }
  }
}

Enter fullscreen mode Exit fullscreen mode

Stop paying per verification. DNS is free.


Building MCP servers at smithery.ai/servers/vishar-rumbling. Follow the build at @rumblingboya.