Introduction
Imagine trying to call a friend but only knowing their nickname instead of their phone number. Computers face a similar problem when they want to visit websites; they know the website name but need the exact address to connect.
Imagine you want to visit a friend's house but only know their name, not their address. You ask a neighbor who has a list matching names to addresses. The neighbor tells you the exact address so you can find the house.
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ User's Device │──────▶│ DNS Server │──────▶│ Website Server│
│ (asks for │ │ (finds IP for │ │ (has website │
│ example.com) │ │ example.com) │ │ content) │
└───────────────┘ └───────────────┘ └───────────────┘