How the web works

A name goes in.
An address comes back.

DNS helps your browser find where to connect. It does not fetch the page. Follow one name through a lookup, then see what a cached answer skips.

Follow the explanation ↓

Follow the idea

Trace one question.

Illustrative lookup. example.com and 192.0.2.10 are reserved documentation examples; no lookup is made.

01 / 04

Ask about the hostname.

In https://learn.example.com/moon, the name to resolve is learn.example.com. Your device asks a resolver for address records. The /moon path is not part of that question.

02 / 04

Follow the referrals.

Without a usable cached answer, a recursive resolver can ask a root server, a .com server and then an authoritative server for example.com. Each referral points it toward the next source of information; the root does not store every website’s address.

03 / 04

Use the answer to connect.

An address record can return an IPv4 or IPv6 address. Here the invented answer is 192.0.2.10. The browser can use the address to establish a connection, then send an HTTP request for /moon.

04 / 04

Next time can be shorter.

A valid cached answer may avoid repeating those upstream queries. Records have a time to live (TTL), so a cached answer is not kept forever. Real lookups can involve aliases, multiple addresses and caches at several layers.

Make a prediction

You change /moon to /stars on the same host. Does DNS need a different name?

What can a cache skip?

Use the same hostname. Change only whether the resolver already has a usable answer.

Resolver → root → .com → authoritative answer. Then connect.

Sources & scope

This is an illustrated explanation, not a live browser trace. Written for Nemonic with AI assistance; primary references checked November 6, 2026.