Skip to content

Comment on Reducing bad signup emails with mailcheck.jsparent

Comments

Why use the A record, rather than MX?

Strictly, you might need to check for both. If there are no MX records, mail will be delivered to the @ A record for a domain (e.g. mail to x@example.com will go to the IP for 'example.com').

So if there are no MX records, you need to check @'s A record as well (or vice versa, since not all domains have A records either).

MX server record isn't required for all DNS listed email domains.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.