Tutorials Tools

DNS records for humans: A, AAAA, MX, TXT, NS

Run this scan on your device

The short version

Behind every website address is a set of hidden records that tell the internet where to send things, your web traffic, your email, and more. They're called DNS records, and they're public. Learning to read the main five (A, AAAA, MX, TXT, NS) lets you understand how a domain is set up, troubleshoot your own site, and spot when something looks off.

What's actually happening

DNS is the internet's phone book. People remember names like example.com, but computers need numbers (IP addresses). DNS translates the name into the number, and into a few other instructions, every time you visit a site or someone emails you.

A domain's records are its directory listing. Each record type does one job, like separate lines in a contact card: one line for the website's address, another for where email should go, another pointing to who's in charge of the whole listing.

Why it matters to you

  • If your website or email isn't working, the answer is very often in these records.
  • It helps you understand what a domain is really connected to (your email provider, your host).
  • Some records (TXT) are how services prove a domain is legitimately yours, and how email gets protected from forgery.

How to read the main records

Use the lookup tool on this site, or any trusted DNS lookup, and type a domain. Here's what the five common types mean:

  1. A record — the website's address in the older, numeric format (like 93.184.216.34). This is "where the site lives."
  2. AAAA record ("quad-A") — the same idea, but in the newer IPv6 format (a long address with colons). Many sites have both.
  3. MX record ("mail exchange") — where email for the domain should be delivered. If you see names like "google" or "outlook" here, that tells you who handles their email.
  4. TXT record — free-form text notes. In practice these are used to verify ownership ("this domain really belongs to us") and to protect email from forgery (settings called SPF, DKIM, and DMARC).
  5. NS record ("name server") — the servers that hold the master copy of all these records. This is who's authoritative for the domain, often your registrar or a service like Cloudflare.

How to check you're reading it right

Look up a big, familiar domain. You should see one or more A (and usually AAAA) records, MX records pointing at a recognizable email provider, several TXT records, and two or more NS records. If you own a domain and just set up email or a website, looking up your own records is the fastest way to confirm the change actually took effect.

What a normal result looks like

A healthy domain usually has: at least one A record (often an AAAA too), two or more NS records (having several is normal and good, it's for reliability), MX records pointing to a real mail provider if the domain uses email, and one or more TXT records including an SPF line (it starts with "v=spf1"). Missing MX records simply means the domain doesn't receive email, which is fine for a website-only domain. Changes don't appear instantly: DNS has a built-in delay (called TTL), so a record you just edited can take minutes to hours to show up everywhere.

Want to go further?

The Advanced version shows the exact commands (dig and nslookup), explains TTLs, CNAME vs. A, the SPF/DKIM/DMARC TXT records in detail, authoritative vs. recursive answers, DNSSEC, and how to trace a lookup from the root down.

whoamionline.com Free privacy & network diagnostics Check your own connection →