IT Foundations · Lesson 1

How DNS helps your browser find a website

Outcome: In about 12 minutes, you will be able to explain what DNS does and what happens before a browser contacts a website.

About 12 minutes Level 1 14 July 2026
1

The problem: names are easier than numbers

You type example.com into a browser. Your device cannot find a server from that name alone; network communication uses an Internet Protocol address, usually called an IP address.

Remembering a readable name is easier than remembering an address such as 93.184.216.34. The Domain Name System, or DNS, connects these two forms.

The central idea: DNS finds information associated with a domain name, including the IP address a device can use to contact a server.
2

Use one picture: an address book

Imagine saving a person as “Maya” in your contacts. You select the name; your phone uses the stored number.

DNS plays a similar role:

The analogy has a limit: DNS is not one global file on one computer. It is a distributed system made of many servers and delegated parts.

3

What happens during a lookup

Your device usually asks a recursive resolver to find the answer. The resolver may already have a valid cached answer. If not, it follows referrals through the DNS hierarchy until it reaches an authoritative source for the domain.

  1. 1. BrowserNeeds the address for a domain
  2. 2. ResolverChecks its cache first
  3. 3. RootPoints toward the top-level domain
  4. 4. TLDPoints toward the domain's nameserver
  5. 5. AuthorityReturns the relevant DNS record
Important: Most lookups do not need to contact every level every time. Caches can reuse unexpired information, making later lookups faster and reducing work.

Three supporting ideas

  1. Distributed: DNS information is spread across many independently operated servers.
  2. Hierarchical: names are organized in levels, such as the root, .com, and example.com.
  3. Cached: resolvers can temporarily store answers according to their time-to-live value.
4

Worked example: opening example.com

example.com is reserved for documentation, so it is safe to use in examples.

  1. You enter https://example.com.
  2. Your device asks its configured DNS resolver for the address connected to example.com.
  3. The resolver returns a cached answer or obtains the answer through DNS nameservers.
  4. Your browser uses the returned address to contact the server.
  5. HTTPS then protects the web connection and the server returns webpage data.

DNS participates in finding where to connect. It does not itself download, secure, or display the webpage.

5

Do not mix up these jobs

TermMain jobAddress-book comparison
Domain nameA human-readable nameThe contact name
DNSFinds records connected to the nameLooking up the contact
IP addressIdentifies a network destinationThe phone number
HTTPSProtects communication with the websiteA private, protected call
Web hostingRuns or stores the website contentThe person or organization you reach
6

Try it in under three minutes

Option A: Explain aloud: “DNS is useful because…” Keep the explanation under 30 seconds.

Option B on a Mac: Open Terminal, enter nslookup example.com, and press Return. Look for an address in the result. The exact address may vary because services can use multiple addresses and delivery systems.

You do not need to memorize the lookup commands. The goal is to connect a readable name with a returned network address.

Three-line recap

  1. DNS connects domain names with records that computers use, including IP addresses.
  2. A resolver checks cached information and, when needed, follows the DNS hierarchy toward an authoritative answer.
  3. DNS finds where to connect; HTTPS and the browser perform different jobs.

Communication practice

Complete this sentence in plain language:

“DNS is like an address book because…”

A good explanation mentions a readable name and the address used to reach a server. It does not need to mention every type of nameserver.

Your review plan

These dates bring the central idea back with a different question. Check a box only after completing that review.

Sources and fact check

Sources checked 14 July 2026. Older RFCs are used because they define stable protocol foundations; the current explanatory documentation was checked for modern terminology and behavior.

7

Q&A: answer before you reveal

Write whatever you remember. The attempt matters more than perfect wording, and your text stays saved in this browser.

Finished for today?

You only need the central idea today. The review schedule will bring the details back.