An independent engineering field journalUnderstanding the systems behind the screen
Start here   ·   November 2026

You clicked a link. What actually happened next?

Before a single page appears, DNS, transport, encryption, and HTTP each have a job. Here is the packet-level story I wish I had learned first.

Documenting the mechanism. Testing assumptions. Keeping the unknowns visible.

One click is several separate systems.

Type https://example.com into your browser. It feels like one operation. The network doesn't see it that way. Name resolution, connection establishment, secure negotiation, application requests, and rendering all happen at different boundaries. A useful troubleshooting habit is to ask: Which boundary did we reach before things stopped working?

That distinction changed how I think about networking. “The website is down” is a symptom, not yet a diagnosis. A DNS error can happen before any transport connection. A TLS certificate failure can happen after the server answers at the network layer. And an HTTP 502 can happen after a client successfully reaches an intermediary.

1. The browser needs an address, not just a name.

The browser may already know the IP address from a cache. If it doesn't, it asks a DNS resolver for records such as A (IPv4) or AAAA (IPv6). The resolver may answer from its cache; otherwise it can follow referrals through root, top-level-domain, and authoritative DNS servers. An authoritative server provides the answer for a particular zone; root servers do not contain every website's address.

Conceptual DNS path
Browser → Recursive resolver → Root referral
                              → TLD referral
                              → Authoritative answer
        ←  A / AAAA record and TTL
Most browsers rely on a resolver to perform the iterative work; this is a simplified cache-miss path.

The TTL (time to live) lets caches know how long a record may be reused. It is not a global switch that instantly moves every visitor when a DNS record changes. Old cached answers and already-established connections can outlive your update.

2. The client establishes a transport conversation.

For an HTTPS connection using HTTP/1.1 or HTTP/2, the browser generally opens a TCP connection to the destination IP address and port (normally 443). TCP's three-way handshake uses SYN, SYN-ACK, and ACK to establish connection state. Those packets do not yet contain a request to fetch the homepage.

Client                  Server
  SYN -------------------->
      <---------------- SYN-ACK
  ACK -------------------->
  [TCP connection established]

HTTP/3 is a meaningful exception: it uses QUIC over UDP, rather than HTTP over a TCP connection. The higher-level job is still to establish secure transport, but the wire behavior differs.

3. Encryption requires identity and key agreement.

For HTTPS over TCP, TLS negotiates cryptographic parameters and helps authenticate the server. In a TLS 1.3 handshake, a client sends a ClientHello, the server presents certificate information, and both sides establish traffic keys. The browser must validate that the certificate is trusted and matches the intended hostname. A packet reaching the correct IP does not prove the remote endpoint is the right website.

During setup the client and server may also negotiate an application protocol using ALPN, such as h2 for HTTP/2. With HTTP/3, TLS 1.3 is integrated into QUIC's handshake. None of these steps guarantee the application itself is healthy.

4. Only now does the browser request a resource.

After the secure connection is ready, the browser sends an HTTP request, such as GET /. The server returns a response status, headers, and potentially a body. That body might be an HTML document. Its references can trigger further requests for stylesheets, scripts, images, and fonts.

GET / HTTP/1.1
Host: example.com

HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: ...

<!doctype html>...

This readable text is a conceptual HTTP/1.1 example. On the wire, HTTPS protects the application data with TLS; HTTP/2 and HTTP/3 also have different binary framing. The browser finally parses the HTML, constructs page structures, applies CSS, runs applicable JavaScript, and renders the result.

A working connection does not imply a working application.

Here is the diagnostic separation I now use: DNS resolution tells me where to try; transport tells me whether an endpoint connection can be established; TLS tells me whether the endpoint can negotiate security and demonstrate acceptable identity; HTTP tells me what the web application or intermediary actually answered.

“The page won't load” is not one failure. It's a question about which layer was reached.

This is particularly relevant in factory systems. An HMI, robot fleet manager, or gateway may depend on several named services. A process can be running while a dependent origin, certificate, or DNS record is wrong. The names of the systems are different; the debugging method is the same.

Try this with a real public website.

# Inspect DNS answers (macOS)
dig example.com A

# Observe status and TLS/HTTP details
curl -Iv https://example.com

# See which HTTP version curl negotiated
curl -sS -o /dev/null -w '%{http_version}\n' https://example.com
What I want you to notice

dig answers the naming question. curl -I exposes response headers and connection diagnostics. A successful HTTP result does not tell you how all supporting services behaved, so interpret each observation narrowly.

Learning checkpoint

A site resolves to an IP but the browser displays a certificate warning. Which stage should you investigate first?

The hostname resolution probably happened. Investigate the TLS certificate chain, hostname match, trust settings, and the endpoint or proxy presenting the certificate—not DNS alone.

← All articlesFollow the learning path ↗