Troubleshooting

What MX and TXT records actually mean

MX records identify mail exchangers; TXT records carry text used by several protocols, including some domain verification and mail policies.

Updated

Mail routing

An MX value includes a preference number and a host name. Lower preference values are preferred; the target host requires appropriate address records. A website's A record does not determine all email delivery.

Text records

TXT is a generic string representation. SPF policy, domain verification and other protocols define their own syntax. Multiple text segments may be part of one resource record; do not blindly concatenate independent records.

Diagnose carefully

An MX or TXT lookup cannot prove a mailbox exists, an email is authentic or a domain's security is complete. Verify mail policy with the appropriate system and avoid publishing private verification tokens in reports.

Read records in context

An MX record such as 10 mail.example.com identifies a mail exchanger preference and name, not a web address. TXT records may carry SPF or other service-specific text. A valid-looking record alone cannot prove that delivery or authentication succeeds; inspect the relevant service configuration.

Step-by-step example

Read an illustrative mail setup for example.com without exposing real messages or credentials.

  1. 01

    Read MX preference

    An MX answer names a mail exchanger with a preference. A lower number is preferred. Sample MX 10 and MX 20 represent a primary and secondary choice in this example.

    MX 10
    mail1.example.com
    MX 20
    mail2.example.com
    Illustration · example, not a live result
  2. 02

    Inspect TXT records by purpose

    TXT can contain verification text or protocol policy. SPF uses a TXT value at the relevant domain; DMARC uses _dmarc.example.com. Read the exact requested hostname and avoid exposing secrets.

    example.com
    TXT / SPF policy
    _dmarc.example.com
    TXT / DMARC policy
    Illustration · example, not a live result
  3. 03

    Verify mail routing separately

    Check that the MX host names resolve to appropriate address records. Mail delivery depends on service availability, policies and configuration. A returned MX or TXT value alone cannot confirm a mailbox exists.

    MX hostname
    A / AAAA
    Mail delivery
    Separate service check
    Illustration · example, not a live result

Check your understanding

Use DNS results as configuration evidence; do not use them to guess private mailbox contents.

Try this tool →

Try this

Compare the A, MX and TXT records of an authorized domain; note which record types answer different questions.

DNS record lookup →

Technical references