Discovery · Lesson 05

How does DNS help find a destination?

A useful name is easy for people to remember. An IP (Internet Protocol) address is useful to networks. DNS (Domain Name System) helps translate the first into the second before a connection begins.

The naming problem

People remember names. Networks need destinations.

When you visit a website, you usually start with a name such as fusingbits.com. A network cannot deliver traffic using that human-friendly label alone. It needs an address that identifies where the traffic should go.

That creates a translation problem: how do we turn a name into an address without making people memorize numbers?

DNS is a directory, not the destination.It helps your device discover an IP address. After the answer arrives, the network can use that address to deliver the next message. This is one kind of discovery: local PAN and LAN devices can also be found through mechanisms such as Bluetooth discovery, ARP, or mDNS.

Compare the cases

Different ways to find a device or service

01

PAN · Bluetooth

Nearby devices advertise their identity or services. Pairing and Bluetooth discovery usually happen without DNS.

02

LAN · Direct address

If a device already knows a local IPv4 address, ARP can find the corresponding MAC address on the local link. DHCP may have supplied the IP configuration first.

03

LAN · Local name

A local service such as a printer can be announced or resolved with mDNS, often using a name ending in .local, without using public DNS.

04

Internet · Domain name

For a name such as fusingbits.com, DNS can return an IP address. Routing and the connection then carry the traffic to that destination.

Build the model

Three useful layers

01

Name

A label people can read and share, such as fusingbits.com.

02

Lookup

DNS looks up the address associated with that name.

03

Address

An IP address gives the network a destination for traffic.

04

Connection

The device uses the answer to begin communicating with the destination.

Mini experiment

Ask the directory

Choose a name. Watch the lookup reveal an address before the connection begins.

NAMEfusingbits.com
DNS ANSWERNot looked up yet
NEXT STEPWaiting for an address

Ready. Ask DNS for the selected name.

Knowledge check

Test your address model

Answer five questions. The questions and answer order change each time.

0 / 5