0Pricing
Network+ Academy · Lesson

Why DNS Exists

Understand why we use names instead of memorizing IP addresses.

Why DNS Exists is a free Network+ Academy lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Network+ Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Names Instead of Numbers

DNS (Domain Name System) translates human-friendly names like example.com into the IP addresses computers actually use to connect.

People remember names far better than numbers. DNS lets you type a website name instead of memorizing an address like 93.184.216.34, acting as the internet’s phone book.

The Phone Book Analogy

Like a phone book maps a person’s name to a phone number, DNS maps a domain name to an IP address. You look up the name; DNS returns the number to dial.

Without it, you would need to know the exact IP of every site and service you use, which would be impossible to manage as addresses change.

Addresses Change, Names Stay

A key benefit is flexibility. A website can move to a new server with a new IP address, but its domain name stays the same — only the DNS record is updated.

Users keep typing the same name and reach the new location automatically. This decoupling of name from address makes the internet far easier to operate.

A Distributed System

DNS is not one giant directory but a distributed, hierarchical system spread across millions of servers worldwide. No single machine holds every record.

This distribution makes DNS scalable and resilient: responsibility for different parts of the namespace is delegated to different organizations.

The Domain Hierarchy

Domain names are read right to left in a hierarchy. In www.example.com:

  • .com is the top-level domain (TLD)
  • example is the second-level domain
  • www is a subdomain or host

An invisible root (.) sits above all TLDs at the top of the tree.

www . example . com .
host   2nd-lvl  TLD  root

Root and TLD Servers

At the top sit the root servers, which know where to find the servers for each TLD. TLD servers (for .com, .org, country codes, etc.) know where each domain’s authoritative servers live.

This chain of delegation lets a lookup start at the top and drill down to the exact server holding the answer.

Authoritative Servers

The authoritative name server holds the real, official records for a domain. Its answer is the definitive source of truth for that domain’s addresses.

When you register a domain, you point it at authoritative servers that store your records. Everything else in DNS exists to find and cache those authoritative answers.

Resolvers Do the Work

A resolver (often run by your ISP or a public service) does the legwork of finding an answer on your behalf. Your device asks the resolver, which queries the hierarchy.

The resolver caches results so repeated lookups are fast. Your device only needs to know its resolver’s address to use the whole system.

Forward and Reverse Lookups

The usual lookup is a forward lookup: name to IP address, the direction you use when browsing. DNS also supports a reverse lookup: IP address back to name.

Reverse lookups help with logging and email checks, where a server wants to confirm the name behind an address. Both directions rely on the same hierarchical system.

Why It Matters for Outages

Because nearly every connection starts with a DNS lookup, DNS problems cause widespread, confusing outages. A site may be perfectly healthy, yet unreachable because its name will not resolve.

Technicians learn to suspect DNS early: if you can reach a site by IP but not by name, the fault is almost certainly DNS.

DNS Underpins Everything

From browsing and email to app updates and cloud services, almost everything online depends on DNS first resolving a name. It runs quietly behind every click.

Understanding why DNS exists prepares you to follow a lookup step by step and recognize the record types and failures explored in the next lessons.

Quick Check

Confirm the purpose.

Recap

You learned why DNS exists.

  • DNS maps human names to IP addresses — the internet’s phone book.
  • It is distributed and hierarchical (root, TLD, authoritative servers).
  • Names stay constant even when underlying IP addresses change.
  • A resolver queries the hierarchy and caches answers for you.
  • If IP works but the name fails, suspect DNS.

Frequently asked questions

Is the “Why DNS Exists” lesson free?

Yes — the full text of “Why DNS Exists” is free to read here on the web, and the Network+ Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Network+ Academy course, upgrade to CoddyKit PRO.

What will I learn in “Why DNS Exists”?

Understand why we use names instead of memorizing IP addresses. You practise Network+ Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Network+ Academy?

No prior experience is required. Network+ Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Why DNS Exists” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Network+ Academy lesson?

Yes. Every Network+ Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Why DNS Exists
  2. Walking Through a DNS Lookup
  3. Common DNS Record Types
  4. Caching, TTL, and DNS Issues
← Back to Network+ Academy