What is DNS? A plain-language explanation
DNS, the Domain Name System, is the internet's phone book. People remember example.ca. Computers need numbers. DNS connects the two. Every website visit and every email you send depends on it.
A lookup, step by step
Sarah types www.example.ca into her browser. Here is what happens in about a tenth of a second.
- Her device asks its resolver (usually run by her internet provider) for the address of
www.example.ca. - If the resolver already knows the answer from a recent visit, it replies. This stored answer is called the cache.
- If not, it asks the root servers who handles
.ca. - The
.caservers reply with the nameservers forexample.ca. For a Barbrick domain, those aregordon.barbrick.ca,hugh.barbrick.caanddouglas.barbrick.ca. - The resolver asks one of those nameservers for
www.example.ca. - The nameserver answers with the record: an IP address such as
203.0.113.25. - Her browser connects to that address and loads the page.
The pieces
| Piece | What it does | Example |
|---|---|---|
| Domain | The name you registered | example.ca |
| Registrar | Where the domain is registered | See What is a domain? |
| Nameservers | The servers that hold your records | gordon.barbrick.ca |
| Zone | The full set of records for one domain | All the records for example.ca |
| Record | One line saying where something lives | www points to 203.0.113.25 |
| Resolver | The helper that looks things up for visitors | Provided by an ISP or Google |
| TTL | How long an answer may be remembered | 3600 seconds |
What records do
| Record | Job |
|---|---|
| A | Domain to an IPv4 address |
| AAAA | Domain to an IPv6 address |
| CNAME | One name as an alias of another |
| MX | Where email for the domain goes |
| TXT | Notes and proofs, such as SPF and verification codes |
See DNS record types for the full list.
Why changes take time
Resolvers remember answers. When you change a record, some visitors see the old value until their copy expires. See DNS propagation and TTL.
Where you manage DNS
DNS lives wherever your nameservers point. If your domain uses Barbrick's nameservers, edit records in your Barbrick account. See Add, edit, and delete DNS records. If you use another provider, edit records there. See Keep DNS somewhere else.
Try it
dig +short www.example.ca
203.0.113.25
Still stuck? Ask us and we'll walk you through it.