Originally published on CodingCush .
DNS, the Domain Name System, is the phonebook of the internet. It turns a human friendly name like codingcush.com into the number a computer actually needs, an IP address like 198.18.40.210, so your browser can load the site. Without DNS you would have to memorise a string of numbers for every website you visit. In this guide you will learn how a lookup travels through four kinds of servers, what the common record types do, and how to watch a real lookup with dig.
What DNS Does, in Plain Words
Every device on the internet has an IP address, a unique number that other machines use to find it. Humans are bad at remembering numbers, so we use names instead. DNS is the system that translates between the two. You type a name, DNS finds the number, and your browser connects to that number.
Think of it exactly like a phonebook: you know a name, you look up the number, then you call the number.β¦