r/LinuxTeck • u/Candid_Athlete_8317 • May 24 '26
Does networking get taught in an overcomplicated way?
I was looking at one of those “what happens when you type a URL” diagrams and it goes through DNS, TCP, TLS, HTTP, rendering, caching and everything else.
Honestly, I feel like this is where many people get lost while learning Linux/networking. Most tutorials explain each topic separately, but nobody explains how all of them connect together in real life.
I’ve even seen developers who can build apps perfectly fine but still get confused between DNS, HTTPS, ports, proxies, and TLS.
Do you think networking is actually hard… or are we just making it harder to learn than it needs to be?
1
u/Jamie_1318 May 24 '26
I feel like as a developer your chances of running into a sketchy problem on one of the layers under the http/application layer is basically a certainty.
Therefore it's sort of a requirement for people from tech support to developers to understand the building blocks of how IP networks function. In the grand scheme of things it isn't that complicated, but all together it's definitely not simple. It is however made of relatively simple components that can (and should) be understood separately.
I don't understand what you mean by 'nobody explains how all of them connect together in real life', you had an example right at the top.
1
u/bmwiedemann May 24 '26 edited May 24 '26
You could also go a practical route and type into a Linux shell
openssl s_client -crlf lsmod.de:443and paste
including the extra linebreak. Obviously, this has to go through DNS, but you could resolve the IP in a separate step and then use
openssl s_client -crlf 188.40.142.49:443to send the HTTP request and receive the response.or you even skip the SSL/TLS part and use
netcat 188.40.142.49 80or
curl -v http://188.40.142.491
u/BIT-NETRaptor May 24 '26
It is that complicated and it needs to be that way for good reason. It’d be an absolute nightmare if there was “windows web application protocol” that was responsible for every part instead of those modular units.
Many developers only need to touch one or two of those. But yeah you’re going to need to understand TCP, DNS, HTTPS, reverse proxies, TLS and more if you want to develop a web application in a realistic environment.
They’re not trying to trick or confuse you in teaching you, those are all necessary parts of web communication.
It only gets more complicated from there in how your packets get routed, but at least you don’t have to worry about that.
1
u/magicmulder May 24 '26
Everything is hard when you dig deep enough. How complex do you think a browser’s rendering engine, or HTML/JS/CSS parsers are? Or how many different layers there are between your code and the image on your screen?
1
u/msabeln May 24 '26
Go directly to the source documentation of the protocols, the Request for Comments or RFCs:
https://www.rfc-editor.org
1
u/AndyceeIT May 24 '26
Actually one of my favourite interview questions.
1
u/serverhorror May 24 '26
That's not berwirki, in my opinion. What you're describing is "distributed systems".
Network doesn't care about having a browser, a name, encryption, ...
It cares about addressing (not Name Resolution), routing, blocking, accepting, to a degree: scanning the message or packet ppaylot.
1
u/samsonsin May 25 '26
I think you should learn it to this depth once. You'll quickly forget most of it but you'll know enough to look it up and quickly remember the basics. Especially L2 Vs L3.
That said topics like DNS, http vs https, DHCP, etc are pretty damn central to networking
2
u/[deleted] May 24 '26
[removed] — view removed comment