1 of 4

Your RightSignal

How the internet works · 4 of 101 / 3

DNS

The concept

How your laptop finds the computer behind "wikipedia.org"

Packets need an IP address, but you typed a name. DNS (the Domain Name System) is the worldwide directory that turns a name like wikipedia.org into an address like 185.15.59.224, which your computer then puts on its packets.

The directory is split by the dots, read from the right. Root servers know who runs each top-level domain (TLD) like .org; the .org servers know who runs wikipedia.org; its authoritative server, run by its owner, holds the record.

A record is one typed entry: an A record holds an IPv4 address, AAAA an IPv6 one. Queries usually go in one small UDP packet to port 53, with no TCP handshake, so each server asked costs one round trip.