Someone sends you a line of dig output and asks whether it looks right. Or your DNS provider shows you a zone file and one record has to change before a migration. The line in front of you is short, but it is written in a compressed dialect: a hostname, a number, two short codes, and a value, with no labels anywhere.

You do not need to memorise the dialect. You need a reliable way to expand one record into plain language and check each piece. This guide shows how to read any record field by field using the free DNS Record Formatter and Explainer on Ovatly, and covers the two conventions that make records look wrong when they are actually fine.

Contents

  • Quick answer
  • The five fields every record carries
  • How to read a record, step by step
  • Worked example: one A record, field by field
  • The record types you will actually meet
  • Convention one: MX preference, where lower wins
  • Convention two: the email dot in SOA records
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

To read a DNS record without guessing: copy the record line from dig output or your zone file, paste it into the DNS Record Formatter and Explainer, and read the breakdown it gives you: name, TTL, class, type, and value, each explained and validated. The tool accepts both dig order and zone-file order, and recognizes the A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA, and PTR types. It never queries live DNS, so it explains exactly what you paste and nothing more.

The five fields every record carries

A record such as shop.example.com. 300 IN A 203.0.113.10 looks like one blob of text, but it is five fields in a fixed arrangement.

The name is the hostname the record belongs to, here shop.example.com., with a trailing dot that marks it as fully qualified. The TTL is a number of seconds, here 300, saying how long resolvers may cache the answer before asking again. The class is IN, short for internet, and is the class on effectively every record you will ever paste. The type says what kind of record it is, here A. The value is the payload, here the address 203.0.113.10.

Once you can point at those five slots, the mystery is mostly gone. What changes from record to record is the type, and what the value is allowed to look like for that type.

How to read a record, step by step

  1. Copy the record line exactly as it appears in dig output or the zone file. Do not retype it; a dropped dot changes the meaning.
  2. Open the DNS Record Formatter and Explainer and paste the line in.
  3. Read the field-by-field breakdown: name, TTL, class, type, value, each in plain words.
  4. Check the validation result. A value that does not fit its type, such as a hostname where an address belongs, is flagged rather than passed along.
  5. If the record uses a convention you do not recognize, such as an MX preference number or an SOA email, read the two convention sections below before deciding it is wrong.

Worked example: one A record, field by field

Take the entry example: shop.example.com. 300 IN A 203.0.113.10.

  • Name: shop.example.com. The record belongs to the shop subdomain, and the trailing dot means the name is complete, not relative to some parent domain.
  • TTL: 300 seconds. Resolvers may cache this answer for five minutes, so a change to this record takes up to five minutes to be seen everywhere.
  • Class: IN. The internet class, the default for public DNS.
  • Type: A. This record maps a name to an IPv4 address.
  • Value: 203.0.113.10. The address the shop subdomain points at.

Nothing in that line was guesswork once the fields were separated. The same reading works for any type: identify the five slots, then interpret the value according to the rules of that type.

The record types you will actually meet

The formatter recognizes ten types. A and AAAA point a name at IPv4 and IPv6 addresses. CNAME points a name at another name. MX names the mail servers for a domain. TXT carries text, often for verification. NS lists the authoritative nameservers, and SOA carries the zone's administrative record. SRV locates services, CAA states which certificate authorities may issue for the domain, and PTR maps an address back to a name.

Anything outside those ten is reported as unrecognized rather than explained with a guess. That is the behaviour you want from a reading tool: a flag, not a confident misreading.

Convention one: MX preference, where lower wins

An MX value carries a number called the preference, and it runs from 0 to 65535. The trap is the direction: lower wins. A mail server listed with preference 10 is tried first, and the one with preference 20 is the fallback used when the first does not answer.

Readers used to rankings expect the bigger number to be more important, so a correct MX setup often looks backwards at first glance. When you paste MX records into the formatter, the breakdown names the preference explicitly, so you can confirm the intended primary server really holds the lowest number.

Convention two: the email dot in SOA records

An SOA record includes the email address of the person responsible for the zone, but it is not written with an @ sign. The convention replaces the @ with a dot: hostmaster.example.com in the record means [email protected].

Until you know this, the SOA value looks like a chain of subdomains and reads as nonsense. After you know it, the field is obvious. The formatter's breakdown calls the convention out, which saves the specific confusion of trying to work out why an email address appears to have no @ in it.

Limitations and honest tradeoffs

The formatter explains what you paste. It never queries live DNS, so it cannot tell you what your domain currently serves, whether a change has propagated, or what a resolver on the other side of the world sees. If you paste a record from an old zone file export, you will get a perfect explanation of an outdated record. Paste fresh dig output when the question is about the live state of a domain.

Validation also has a boundary: the tool checks that values fit their types and that the line is well formed. It cannot judge intent. A record can be perfectly valid and still point at the wrong server, because wrong-but-well-formed is a human error no formatter can see.

Common mistakes

  • Retyping a record instead of copying it. A dropped trailing dot or transposed digit changes the record. Always paste.
  • Reading the MX preference backwards. Lower wins. The fallback server should hold the higher number.
  • Hunting for the @ in an SOA record. It is a dot by convention: hostmaster.example.com means [email protected].
  • Assuming a pasted record is the live one. The tool explains the line you gave it. For live questions, paste live output.
  • Treating an unrecognized flag as a tool failure. It means the type is outside the ten supported types, or the type field itself is mistyped.

FAQs

Does the tool look up my domain's current DNS? No. The formatter never queries live DNS. It reads only the record lines you paste from dig output or a zone file, explains them field by field, and validates the values. To learn what your domain currently serves, paste its real output.

What do the five fields of a DNS record mean? The name is the hostname the record belongs to. The TTL is how long, in seconds, resolvers may cache it. The class is almost always IN, for internet. The type says what kind of record it is, such as A, MX, or TXT. The value is the payload the type points at, such as an IP address.

Why was my record reported as unrecognized? The formatter recognizes ten record types: A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA, and PTR. Anything outside that list is reported as unrecognized rather than guessed at, so an unusual or mistyped type gets flagged instead of misread.

Which MX record receives mail first? The one with the lowest preference number. MX preference runs from 0 to 65535, and lower wins: a record with preference 10 is tried before one with preference 20, which exists as the fallback.

Why does the email in an SOA record use a dot instead of @? By convention the responsible email address in an SOA record is written with a dot standing in for the @ sign. So hostmaster.example.com in the record means [email protected]. It looks like a subdomain until you know the convention.

Conclusion

A DNS record is five labelled slots wearing no labels: name, TTL, class, type, value. The DNS Record Formatter and Explainer supplies the labels, validates the values, and leaves the judging to you, as long as you remember it reads your paste and not the live internet. DNS changes usually travel with URL changes, and the companion skill is covered in Common Redirect Mistakes After a Website Redesign. For more guides in this series, see our Website and Webmaster Tools guides.

References