Skip to main content

Overview

MX (Mail Exchange) record verification checks whether the email domain has properly configured mail servers in its DNS records. Without valid MX records, a domain cannot receive emails.
This is typically configured as a BLOCK check since emails to domains without MX records will always bounce.

What Are MX Records?

MX records are DNS entries that specify which mail servers handle email for a domain. When someone sends an email to [email protected], the sending server looks up the MX records for example.com to find where to deliver the message.

API Response

{
  "checks": {
    "mx": {
      "pass": true,
      "latency": 45.3
    }
  }
}
For unreachable MX servers:
{
  "checks": {
    "mx": {
      "pass": true,
      "latency": 120.1,
      "error": "mx_unreachable"
    }
  }
}
pass
boolean
Whether the domain has valid MX records
latency
number
DNS lookup time in milliseconds
error
string
Optional error code (e.g., mx_unreachable if DNS lookup fails)

Configuration

BLOCK

Always BLOCK emails to domains without MX records - they cannot receive email.

Next Steps