MX lookup
Look up a domain's mail servers and their priorities.
Use it in your app
GET /mx/stripe.com
This page is that call, running from your browser. Use /dns for DNS records with TTLs, or /domain for registration status. MX uses one pooled request on every plan.
QUESTIONS
- What is an MX record?
- The DNS entry that says which servers accept mail for a domain. Lowest priority number wins, the rest are backups.
- The list is empty. What does that mean?
- No MX records were found. This alone does not prove the domain rejects mail: delivery may fall back to an address record. A null MX record explicitly says the domain does not accept mail.
- How fresh is the answer?
- Recent DNS changes may take time to appear because DNS answers can be cached. Check again after the record's TTL has passed; the next lookup is not guaranteed to reflect a change immediately.
- Can I do this from code?
- Yes. GET /mx/{domain} returns ordered mail servers. Use GET /dns/{domain}?type=MX for the DNS records with TTLs.