Interconnection · Lesson 02

How does a name become an address?

People use names such as fusingbits.com. Networks use addresses. DNS (Domain Name System) connects those two views without making every device memorize the whole Internet.

The naming problem

Names are for people; addresses are for delivery.

A browser can start with a name, but it cannot send an IP packet to a word. It asks a DNS resolver for an answer, then uses the returned address for the next network step.

DNS is distributed. A resolver can answer from its cache, ask another resolver, or follow the hierarchy to an authoritative server that manages the domain.

DNS does not carry the web page.It supplies information that helps the browser find the service. The later connection carries the actual application data.

Build the model

The resolution chain

01

Cache

A recent answer may already be available locally or at the configured resolver.

02

Recursive resolver

The resolver does the lookup work on behalf of the device.

03

Authoritative server

The server responsible for a domain can provide its current records.

04

DNS record

An A or AAAA record maps a name to an IPv4 or IPv6 address.

Mini experiment

Resolve a name

Step through the simplified lookup. Notice where the answer can be found and when another server must be asked.

DNS Cache

The resolver checks whether it already knows a still-valid answer for the name.

A cache hit is quick, but cached answers expire according to their TTL (Time to Live).

Knowledge check

Test your DNS model

Answer five questions. The answer order changes each time.

0 / 5