Your DevOps study space

Real explanations. Videos with tests. Fresh exams every time. Keep the streak alive and watch the XP stack up.

Protocols, ports & DNS · Networking Docs · StackwisePlanDevOps Protocols, ports & DNS · Networking Docs · StackwiseCodePython Protocols, ports & DNS · Networking Docs · StackwiseBuildDocker Protocols, ports & DNS · Networking Docs · StackwiseTestDevOps Protocols, ports & DNS · Networking Docs · StackwiseReleaseGit Protocols, ports & DNS · Networking Docs · StackwiseDeployKubernetes Protocols, ports & DNS · Networking Docs · StackwiseOperateLinux Protocols, ports & DNS · Networking Docs · StackwiseMonitorDevOps

Pick a topic

Eight tracks, each with docs, a cheat sheet, videos and tests.

How it works

One loop, repeated until it sticks.

Jump back in

Picked up from where you left off.

Free forever

Your DevOps journey starts with one click.

Sign in with Google or GitHub to open every chapter, video, test and challenge. Your progress is saved wherever you learn.

Protocols, ports & DNS

An IP address gets data to the right machine. Ports get it to the right program on that machine, TCP or UDP decide how carefully it's delivered, and DNS turns names like google.com into addresses in the first place.

TCP: reliable, in order

TCP sets up a connection before sending anything, with the three-way handshake: the client sends SYN ("let's talk"), the server answers SYN-ACK ("OK"), the client replies ACK ("great"). After that, every piece of data is numbered and acknowledged: lost pieces are sent again and everything arrives in the right order. That reliability costs a little speed. Web pages, SSH, email, database connections and file transfers all use TCP.

clientserverSYN "let's talk"SYN-ACK "OK"ACK "great"data, numbered and acknowledgedconnected
Three messages before any data. That round trip is the price of TCP's guarantee: everything arrives, in order, or the connection reports an error.

UDP: fast, no guarantees

UDP just fires packets at the destination: no handshake, no acknowledgements, no resending. Some may be lost or arrive out of order, but it has less delay and overhead. It fits cases where speed matters more than perfection: DNS lookups, video calls, live streaming and online games (a lost video frame is better than a frozen call).

ICMP is a third protocol used for control messages, not app data. ping uses it to ask "are you there?" and measure the round trip.

Ports

One server runs many programs, so each one listens on a numbered port (0 to 65535). An IP address plus a port, like 203.0.113.10:443, names one specific service. Ports below 1024 are "well-known" and need root to open. The ones worth memorising:

PortServicePortService
22SSH80HTTP
25SMTP (sending email)443HTTPS
53DNS3306MySQL
21FTP5432PostgreSQL
3389Windows remote desktop6379Redis

The program on your side of a connection gets a random high port for the reply to come back to. ss -tulpn lists which ports are listening on a Linux machine and which program owns each.

DNS: the internet's phone book

People remember names, computers need IP addresses. DNS translates one into the other. When you open demee.cc:

  1. Your computer checks its own cache and /etc/hosts.
  2. If it doesn't know, it asks a resolver (your ISP's, or a public one like 1.1.1.1 or 8.8.8.8).
  3. The resolver asks a root server, which points it to the servers for .cc (the TLD).
  4. Those point it to the domain's authoritative name servers (for your domain, Cloudflare's).
  5. The authoritative server gives the answer, and the resolver passes it back and caches it for the record's TTL (time to live).

The record types you'll set up yourself:

  • A: name to IPv4 address. AAAA: name to IPv6 address.
  • CNAME: an alias pointing one name to another name (www to the main domain, or study to devops-site-ao3.pages.dev).
  • MX: which mail servers accept email for the domain.
  • TXT: free text, used to prove you own a domain and for email security (SPF, DKIM).
  • NS: which name servers are authoritative for the domain.
DNS changes aren't instant everywhere: resolvers keep old answers until the TTL runs out. When a new record "doesn't work yet", that's usually why. dig demee.cc shows exactly what DNS is answering right now.

Questions

Pick an answer. Get it wrong and you can try again right away, no waiting. 10 questions per topic - pick a filter below, then use Recreate questions for a fresh set on that topic.

Fresh questions every time

Exam

A mixed test across the whole site, shuffled so you never know which topic comes next. When you submit, every mistake comes with the reason and a jump to the exact moment in the video that explains it.

30 questions 6 topics 20 minute limit Up to 70 XP
1–4 answer · ←→ move
History

Essay

0 / 200-250 words
Sample answer
History
0:00 / 0:00
Not started

on YouTube
Subscribe

Topic progress

Activity

Achievements

Settings

Your profile and your account.

Profile details

* Required. Saved in this browser until you sign in.

Letters, numbers, dots, dashes and underscores.
0 / 160

Account

Checking…

App

Install Stackwise on your phone or computer. It opens in its own window from your home screen, and the Docs and cheat sheets you've opened keep working without internet.

Only admins can see this

Dashboard

Sign-ups, activity, messages and reviews in one place.

Prove it

Certificates

Pass a topic's test and get a certificate with its own public page you can share or add to LinkedIn. Each test is 10 questions drawn at random and graded on the server; you need 8 right, you have 15 minutes, and you get one try per topic a day.

From first command to production

Linux for DevOps

A path through Linux the way DevOps engineers use it: ten stages, every command explained with its flags, examples, real output and mistakes, the combinations engineers chain together, and incidents worked through step by step. Practise everything in a safe lab folder.

Before the interview

Interview prep

Questions that come up in real DevOps interviews, with the kind of answer that lands. Say yours out loud first, then compare. Each one links to the chapter that goes deeper.

    Private to you

    My notes

    Everything you wrote down while watching and reading, in one place. Saved to your account, never shown to anyone.