Course overviewTopic 3 / 31
Computer Networks • Deep Lesson 12 min How the Internet Works + OSI Model

What Really Happens When You Type google.com

Typing a URL triggers a pipeline, not a single network request. The browser must determine where the host is, establish the appropriate transport/security context, send an HTTP request, receive bytes, parse the response, and request additional resources. DNS, ARP/NDP, routing, TCP or QUIC, TLS and HTTP are all parts of the visible 'page load'.

LEARNING LOOPWatch→Read→Inspect→Retrieve→Teach back
What Really Happens When You Type google.com
Week 1 · Topic 3 / 31
Visual model

Watch the structure first. Then read the technical details.

URL
DNS
Route
TLS / QUIC
HTTP
Render
Article companion· Week 1

Typing a URL triggers a pipeline, not a single network request. The browser must determine where the host is, establish the appropriate transport/security context, send an HTTP request, receive bytes, parse the response, and request additional resources. DNS, ARP/NDP, routing, TCP or QUIC, TLS and HTTP are all parts of the visible 'page load'.

01

Name resolution first

A browser or operating system often consults local caches before asking a DNS resolver. The resolver may obtain an answer by following the DNS hierarchy until an authoritative server provides the requested record.

02

Reachability is multi-hop

The destination IP is not enough by itself. The host must choose a route, reach the next hop on the local link, and encapsulate frames for every hop.

03

Security precedes application data

For HTTPS, TLS authenticates the server and establishes cryptographic keys before protected HTTP data is exchanged. Modern HTTP/3 runs inside QUIC rather than TCP.

DUAL CODING

See the mechanism before you memorize it

One diagram, one causal story, one reconstruction task.

VISUAL RECONSTRUCTION

What happens when you type google.com — causal map

4 stages
01

1. Resolve

URL → DNS lookup → destination address.

02

2. Reach

Routing + next-hop link resolution move packets toward the server.

03

3. Establish

TCP+TLS for classic HTTPS, or QUIC for HTTP/3.

04

4. Request

The browser sends an HTTP request and receives headers/body bytes.

Trace the mechanism from left to right. On smaller screens, follow the numbered sequence. Then redraw the same flow without looking.
ACTIVE RECONSTRUCTION

Draw the idea yourself

Rebuild the core flow on a real canvas before moving to the worked walkthrough.

SKETCHFLOW

What happens when you type google.com — practice canvas

Sketch the What happens when you type google.com mechanism from memory. Label the input, transformation, observation, and transfer.

Practice canvas ready

The canvas loads when you reach this section.

Draw first. Compare second.Touch + mouse friendly
STEP BY STEP

Walk the system

01

1. Resolve

URL → DNS lookup → destination address.

02

2. Reach

Routing + next-hop link resolution move packets toward the server.

03

3. Establish

TCP+TLS for classic HTTPS, or QUIC for HTTP/3.

04

4. Request

The browser sends an HTTP request and receives headers/body bytes.

05

5. Render

The browser parses HTML and issues follow-up requests for dependent resources.

CONCRETE ARTIFACT

Debugging checklist

These commands answer different questions: DNS answer, HTTP/TLS reachability, path visibility and local socket state. Good debugging uses tools that test separate hypotheses.

bashcopy → rebuild → modify
dig +short google.com
curl -I https://google.com
traceroute google.com
ss -tuna | head
MISCONCEPTIONS

What usually goes wrong

Think of the entire page as one packet.

Skip DNS because browsers 'just know' the IP.

Assume TCP is always used for modern HTTP.

RETRIEVAL PRACTICE

Close the tab. Rebuild it from memory.

Read the question, answer aloud, then reveal.

What must succeed before an HTTPS request can complete?Reveal answer

At minimum, name resolution or an equivalent address source, path/link reachability, the chosen transport, and the TLS/application protocol negotiation must all succeed.

Why does one page cause many requests?Reveal answer

HTML frequently references stylesheets, JavaScript, fonts, images and API endpoints that are fetched separately, subject to caching and browser policies.

Where would you start when a site fails?Reveal answer

Separate the failure into DNS, connectivity, TLS, HTTP response, or browser/application behavior instead of treating 'the network' as one system.

FEYNMAN

Teach it back in plain English

Narrate the page load from the keyboard to the server and back without using protocol names until the end. Then map each step to DNS, routing, transport, TLS and HTTP.

EXAM / INTERVIEW

What a strong answer sounds like

Exams often combine several layers in one scenario: be prepared to identify the protocol, layer, address and failure symptom together.

NEXT CONNECTION

Make this idea travel.

Connect it next to: signals-media • dns • tcp-handshake.

COURSE CONTENTS

What happens when you type google.com

01How the Internet Works + OSI ModelWeek 1 · 4 topics0/4
02Physical & Data Link LayersWeek 1–2 · 5 topics0/5
03Network Layer: IP & RoutingWeek 2–3 · 6 topics0/6
04Transport Layer: TCP & UDPWeek 3–4 · 5 topics0/5
05Application Layer: HTTP, DNS & FriendsWeek 4–5 · 6 topics0/6
06Security & Troubleshooting ToolkitWeek 5 · 5 topics0/5