MX record lookup

In iterative trace mode, the resolver is ignored.
Query multiple public resolvers to compare answers.

How to use the DNS lookup engine options effectively

What is the iterative trace?

The trace performs resolution step by step. The resolver first queries the root servers, then the TLD (.com, .fr, .eu), and then the authoritative servers of the target zone. At each step, the page shows the queried server, the answer, the RCODE, and the latency.

  1. 1. Root

    Discovery of the TLD servers for the requested name.

  2. 2. TLD

    Reference to the zone's NS (delegation).

  3. 3. Authoritative

    Final answer (or error) with TTL and latency.

What is it for?

  • Compare answers across resolvers and regions
  • Detect a hot cache, an overly long TTL, or an incomplete delegation
  • Explain a latency difference or an unexpected RCODE

Tip: keep the trace disabled for quick checks; enable it when investigating or preparing a ticket/post‑mortem.

What is the classic trace?

The classic trace queries only the selected resolver (UDP or DoH) and displays the answer as it is perceived from that network vantage point. You get the RCODE, the response sections, and the latency for the client → resolver leg.

  1. 1. Chosen resolver

    Uses the preset or custom configuration to run the query exactly like your service would.

  2. 2. Protocol preserved

    Respects the selected transport (UDP, TCP, or DoH) so you reproduce the real behaviour.

  3. 3. Detailed answer

    Shows the question, answer, and authority/additional sections when present, together with TTL and useful metadata.

Why use it?

  • Check the view of a specific resolver before suspecting delegation issues
  • Confirm cached values and the impact of a TTL or a flush
  • Document a resolution exactly as a client or microservice sees it

Tip: keep the iterative trace option turned off when auditing a given resolver; enable it afterwards to compare with the root → TLD → authoritative path.

How does the propagation test work?

The test queries a set of public resolvers (Google, Cloudflare, Quad9, OpenDNS, ISPs…) in parallel and groups the answers by content and RCODE. You instantly see who already picked up the update.

  1. 1. Multi-point resolvers

    Enables the propagation presets to question several actors spread around the world.

  2. 2. Automatic comparison

    Groups identical answers and highlights divergences or resolver-specific errors.

  3. 3. Actionable summary

    Provides a clear recap, the resolver list, their latencies, and each group's status.

When to use it?

  • Track how a DNS change propagates worldwide
  • Spot stale caches and decide on a targeted flush
  • Share a propagation snapshot in a ticket or post-mortem

Tip: while the propagation test is active, the resolver selector is frozen. Disable the mode to return to single-resolver diagnostics.

Additional information about DNS MX records

An MX record indicates which servers receive mail for a domain. It points to a hostname. The resolver follows this name to find A or AAAA records. The sending server can then deliver the messages.
An MX record contains a name, a type, a priority, a target, and a TTL. The TTL indicates how long the response remains cached in the local resolver.

Example MX-type DNS record

NameTypePriorityTargetTTL in seconds
@MX10mail.example.net.3600

In this example, the name @ targets the domain root. The target is a hostname that must publish A or AAAA. A lower priority is preferred. A TTL of 3600 corresponds to one hour.

Example with multiple priorities

Publishing multiple MX records for the same name is common. The sending server first chooses the lowest priority. In case of failure, it tries the next one.

NameTypePriorityTargetTTL in seconds
@MX10mx1.example.net.3600
@MX20mx2.example.net.3600

This redundancy increases service continuity. It does not replace active monitoring or regular testing.

Essential rules

An MX record points to a name, not to an address. The target must not be a CNAME. The targeted name must publish A or AAAA and be reachable on port 25. The MX can exist at the apex or on a subdomain if the email address uses this subdomain.

TTL explained clearly

A short TTL makes a change visible faster. Useful when switching to a new messaging service.
A medium or long TTL reduces queries to authoritative servers. Suitable for a stable service.
Reduce the TTL a few hours before the switch, then increase it when everything is validated.

Good to know
MX records are used for reception. Outgoing mail uses other settings like SPF, DKIM, DMARC and outbound relay configuration.

Where to use an MX record

Publish the MX on the domain that receives mail. Most often, this is the root. For a dedicated domain like support.example.com, publish the MX on this subdomain. The messaging hosts referenced by MX records keep their own A or AAAA.

To avoid
Pointing an MX to a CNAME or to a direct address.
Forgetting the A or AAAA record of the target.
Leaving an old MX active after a migration.

Online verification

An online DNS lookup allows you to enter a domain name. You get the list of MX with their priorities, their targets and the TTL visible from the Internet. This is a useful first check. Then do a local test from your machine.

Verify on Windows

Windows provides nslookup. You can use it in interactive mode.

Local resolver
nslookup
set q=mx
example.com
Specific resolver
nslookup
set q=mx
server 1.1.1.1
example.com

The first part queries according to the machine's network configuration. The second forces the use of a third-party resolver, here Cloudflare's.

Verify on Linux and Mac

On these systems, the dig command is convenient and easy to use.

Local resolver
dig MX example.com
Specific resolver
dig MX example.com @1.1.1.1

Quick reading of responses

Multiple lines indicate multiple servers. The smallest priority number is preferred. Identical priorities share attempts in a balanced manner.
A high remaining TTL can explain a lag after a change.
A target without A or AAAA prevents delivery.

Simple migration procedure

  1. Prepare messaging hosts with their A or AAAA.
  2. Reduce the TTL of MX to 300 or even 60 seconds a few hours before the switch.
  3. Add the new MX with the planned priority. Keep the old ones during the transition.
  4. Test reception from multiple networks. Check the headers of received messages.
  5. Remove the old MX then increase the TTL when everything is stable.

Practical tip
Note the complete list of MX before modification. Keep the date, priorities, TTL and reason for the change. This trace avoids errors and facilitates a rollback.

Common cases

External messaging service

Publish the MX provided by the provider. The targets belong to the provider's domain. Keep a reasonable TTL.

Upstream anti-spam filtering

Point the MX to the filtering provider. This provider then relays to your servers. Monitor latency and availability.

Backup MX

Declare a secondary server with a higher priority. It holds messages if the primary server is unavailable, then delivers them when it returns.

Quick troubleshooting

  1. In case of bounce, verify that the MX target resolves to A or AAAA.
  2. Check network accessibility on port 25 to the target.
  3. If MX still point to the old provider, remove them after the switch.
  4. If the response remains old, wait for TTL expiration and purge the local resolver cache if possible.

In summary, an MX record indicates the receiving server for a domain. It points to a hostname that publishes A or AAAA. The lowest priority is chosen first. A well-chosen TTL facilitates changes. Verification goes through an online tool, then through nslookup and dig.
With these landmarks, management remains clear. Changes proceed without stress. Messages arrive without incident.