A DNS record is one line of information about a domain name. It says something like "this name lives at that server" or "email for this name goes over there". Browsers and mail systems read those lines before they do anything else.
DNS stands for Domain Name System. It's the lookup service. It turns a name you can remember into the details a computer needs, and it does that in a blink.
Where the records live
Records don't sit in your website files or your email inbox. They sit in a separate place, kept by whoever answers questions about your domain. The standard describes it this way: "Authoritative information is organized into units called" zones.1
A zone is the full set of records for a domain. The server that holds it is called an authoritative server, meaning one that "knows the content of a DNS zone". It answers questions about the zone without asking anyone else.1
Three separate jobs get mixed up here:
- The registrar is the company you register the name with. The standard calls it "a service provider that acts as a go-between for" the person registering and the registry.1
- The DNS host runs the nameservers that hold your zone. It can be the registrar or a different company.
- The web host or email provider runs the actual website or mailboxes. Its details go into your records.
Nameservers get a page of their own: Nameservers and NS records.
What you'll see in a record
Open the DNS settings at your provider and each row has the same parts. There's a name, a type, a value and a time setting. The name says which part of your domain the row is about. The type says what kind of fact it is. The value is the fact itself.
The type is the part to learn first. The original specification lists the early ones with short descriptions, including these:2
| Type | What the specification calls it |
|---|---|
| A | "a host address" |
| NS | "an authoritative name server" |
| MX | "mail exchange" |
| TXT | "text strings" |
There are other types too. Each type gets its own page here: A and AAAA, CNAME, MX and TXT.
What a change does and doesn't touch
Changing a record changes where people are sent. It doesn't move your website files or your mailboxes. Not one byte. If you point your name at a new server and nothing's on it, visitors will land on an empty server.
That's why a mistake in DNS feels so odd from the outside. The site looks fine when you log in to your host, but visitors can't find it. Odd. The problem is in the directions to the building, not the building itself, and nothing on the host's side will show it.
Changes also take a while to show. Networks keep copies of answers for a time. Wikipedia says providers typically run "recursive and caching name servers" for their customers.3 The waiting is explained in TTL and propagation.
Reading the whole list
Once you know the main types, a zone stops looking like a wall of jargon. It's a list of short facts, one per row. A full example is picked apart in reading a DNS zone.
Notes and sources
- RFC 8499: DNS Terminology, IETF (RFC Editor)
- RFC 1035: Domain names, implementation and specification, IETF (RFC Editor)
- Domain Name System, Wikipedia
