Networking & HTTP·Networking from DNS to production

How the internet works

Follow packets across networks, routers and the request-response cycle.

Beginner 12 min read Lesson 1 of 300 Challenge included
What you will be able to do
  • Packets are routed independently.
  • IP addresses identify hosts; ports identify services.
  • DNS turns names into addresses.
  • HTTP is a request-response protocol on top.

In plain English

The internet is a network of networks that forwards packets. Your request is split into packets, routed hop by hop and reassembled at the destination. Application protocols such as HTTP sit on top of that transport.

terminalTerminal
curl -sS -o /dev/null -w 'dns %{time_namelookup}s connect %{time_connect}s tls %{time_appconnect}s total %{time_total}s\n' https://www.edubyte.tech/
Your turn

Measure request phases

Medium

Use curl to print DNS, connect, TLS and total timings for a URL.

BASH · starter
curl -o /dev/null https://example.com
Check your understanding before moving on.
Knowledge checkQuestion 1

What does a port identify?

Select an answer to continue
Study tools

Make it yours.

Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.

Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign in
Finished reading?

Lock in what you just learned.

Mark this lesson complete to save your place and move one step closer to the certificate.

Next: IP addresses and DNS
Lesson 1 of 300 · 0% of course