DomainLens

Apprendre

DNS Record Lookup: Read A, MX and TXT Results

A DNS record lookup is useful only when each returned record is compared with the job that hostname is meant to do.

Vérifiez votre site avant de corriger

Lancez un audit DomainLens frais et utilisez le rapport comme liste de priorités.

Lancer un audit SEO gratuit

Start with the record and the hostname

A DNS lookup does not return one universal answer. An A record answers where a web hostname resolves; MX answers which host accepts mail; TXT carries policies such as SPF and DMARC. Querying the wrong name is the usual reason a correct DNS zone appears broken.

Check the root domain, www hostname and mail subdomains separately. A working apex does not prove www exists, and a valid SPF TXT record does not prove the MX target resolves.

Server racks in a data center representing DNS infrastructure
DNS answers differ by record type and hostname.

Interpret the result before editing

Use the live DNS checker for a grouped result, the DNS record types guide for each value, and the nslookup and dig command guide when you need to query one resolver directly.

ResultCheck next
No A/AAAAConfirm the hostname should serve a website
MX targetConfirm that target has an address record
TXT SPFKeep exactly one SPF policy
DMARCStart at p=none and read reports

Ressources associées