Tutelage

Lessons › coding and computer science · taught by Leo

How the Internet Works: Packets, DNS, and HTTPS

Learn how the internet routes packets, uses DNS to find IP addresses, and secures web traffic with HTTPS.

Learn this with Leo, freeA voiced lesson with a live whiteboard, quizzes and a tutor you can call, at tutelage.app

The internet is a network of networks

Here’s the big idea: the internet is not one giant machine. It is lots of smaller networks linked together.

Your phone, your home router, your school, and servers all join that web.

So when you go online, your data is traveling through many connected stops.

Packets carry tiny pieces of data

The internet breaks data into small packets, sends them separately, then puts them back together.

Think of it like mailing a big puzzle in little envelopes.

Each packet can take its own path across the network.

At the end, the pieces are reassembled in the right order.

Predict: what do packets do first?

Before a big file is sent, what usually happens to it on the internet?

  1. It is split into small packets
  2. It is sent as one giant block
  3. It disappears and reappears
Show answer

It is split into small packets

A web page request path

Let’s trace one request. Your device sends data to your router first.

Then the router passes it to your internet provider, or ISP.

From there, it hops across the internet until it reaches the server.

Packets move like traffic

This is the key reason the internet is flexible.

If one route is busy, packets can often go another way.

That makes the system more reliable than one single path.

Quick check: what changes first?

A packet has to cross a busy network. What is the smartest next idea?

  1. Use one fixed path no matter what
  2. Let packets take different routes
  3. Delete the packet and start over
Show answer

Let packets take different routes: Yes. Packets can travel by different routes, and that helps the network keep moving.

IP addresses name the destination

An IP address is like a network address so routers know where to send packets.

A packet needs a destination, just like a letter needs an address.

IP addresses help routers choose where the packet should go next.

Without an address, the network would not know where to deliver it.

DNS turns names into addresses

Humans use names like a website name. Computers use IP addresses.

DNS is the lookup system that turns the name into an IP address.

Then your browser can connect to the correct server.

Watch out: name is not address

What does DNS do?

  1. Turns a website name into an IP address
  2. Makes the internet faster by itself
  3. Stores every photo online
Show answer

Turns a website name into an IP address: Exactly. DNS is the translator from names to IP addresses.

HTTP asks, HTTPS protects

After the connection is made, the browser and server talk using web rules.

HTTP is the basic conversation. HTTPS adds encryption.

Encryption helps keep strangers from reading private data along the way.

A secure request in steps

Let’s put the whole flow together in a simple path.

Your browser asks, the server answers, and encryption helps protect the trip.

That is the basic shape of loading a safe web page.

Your turn: what is DNS for?

A friend types a website name into the browser. What is the best next step?

  1. DNS finds the IP address
  2. The router makes the page itself
  3. The packet stays on the phone
Show answer

DNS finds the IP address: Yes. DNS helps turn the name into the IP address the network can use.

Remember the internet flow

Use this checklist when you explain the internet on your own.

First: DNS turns a name into an IP address.

Then packets travel through routers, and HTTP or HTTPS carries the web conversation.

Learn this with Leo, freeA voiced lesson with a live whiteboard, quizzes and a tutor you can call, at tutelage.app