Run it from your AI agent
This is also a Hermoso tool your agent can call, free, as often as it needs, for example on every domain in a lead list before a campaign. Paste this into Claude Code, Codex or Cursor once:
Set up Hermoso for me. It is an AI marketing tool (hermoso.ai) that researches ads, makes image and video ads and posts to my social accounts. 1. Install it by running: claude plugin marketplace add hermoso-ai/hermoso && claude plugin install hermoso@hermoso If the new skills only load after a restart, tell me, and use npx meanwhile. 2. Sign me in by running: npx -y hermoso auth login It opens my browser and I will approve the connection there. If this machine has no browser, ask me for a Hermoso API key and run npx -y hermoso auth login --token <key> instead. 3. Once I am signed in, do one small task to show it works: tell me my Hermoso credit balance and which profile is saved. 4. Then set up my brand from my website and make my first ad.
Then ask it: “Hermoso, look up the MX records of example.com and tell me who hosts its email”
In ChatGPT or Claude, connect Hermoso from hermoso.ai/mcp and ask the same thing. The tools are check_domain_email_health, check_email_address, generate_dns_record and check_spam_words, and they work over the API and CLI too.
What an MX record is
MX stands for mail exchanger. It is the DNS record that tells the rest of the internet which servers receive email for a domain. When someone sends a message to you@example.com, their mail server looks up the MX records of example.com and delivers to the server they name.
How to read the results
- Priority. Each MX record has a number. Senders try the lowest number first and fall back to higher ones if it does not answer. Equal numbers share the load.
- Mail server. The host name of the server. We also look up its IP addresses: a server name that resolves to nothing is a broken record.
- Provider. Read from the server names: aspmx.l.google.com is Google Workspace, a name ending in mail.protection.outlook.com is Microsoft 365, and so on.
Common problems
- No MX record. Senders then try the domain’s own web server, which usually does not accept email. Add the MX records your email provider gives you.
- A null MX. A single record pointing at "." says the domain takes no email at all. That is correct for a domain that never receives mail and wrong for one that should.
- An MX that points at an IP address or an alias. An MX must name a server, not an address, and should not point at a CNAME. Most senders cope with an alias; some do not.
Moving email to a new provider? Change the MX records last, after the new mailboxes exist, and keep the old provider until the change has spread. Then check the domain’s SPF record, which usually needs the new provider too.
Sending from your own mailbox? Hermoso writes and sends one-to-one emails and timed follow-ups from your own mailbox, stops a sequence when someone replies, and never adds a tracking pixel.
Free tools: SPF, DKIM and DMARC checker · SPF checker · Email checker
Frequently asked questions
How do I check MX records?
Type the domain into the MX lookup on this page. It lists every MX record in the order senders try them, with each server’s addresses and the email provider.
What does MX priority mean?
Senders try the server with the lowest priority number first. Higher numbers are backups. Two records with the same number share the mail between them.
What happens if a domain has no MX record?
Senders fall back to the domain’s own address record, which usually points at a web server that does not accept email, so mail tends to bounce. Add the MX records from your email provider.
How long do MX record changes take?
As long as the old record’s time to live, often an hour and sometimes a day. Keep the old mailboxes working until the change has spread.
Is this MX lookup free?
Yes. It reads public DNS records and needs no account.
Hermoso makes the ads, sends the follow-ups and posts to every channel from one place. Start free, no card.
Start free → See pricing