Have you ever wondered what happens when you type a website name like 'www.intersites.com' into your browser's address bar?
Okay, maybe not.
Think about this. The Internet is made up of tens of millions of computers. A website "lives" on just one of them. When you sit down and visit a website, how does your computer know which one of those millions of other computers hosts the site you want?
Do you really need to know how two computers find each other? No. In fact, a lot of thought and effort has been put into building a system which just works and is easy for regular people to use. On the other hand, based on my daily experience with users, I believe having a basic understanding of the system will make you a more informed and secure user of the Internet.
The way one computer finds another on the Internet is called the Domain Name System, or DNS for short.
First, it's very important to understand that each computer on the Internet has an "IP Address". "IP" stands for "Internet Protocol". IP addresses are similar in many ways to a phone number. Every phone has a phone number and every computer has an IP address.
IP addresses are made up of 4 numbers ranging from 0-255, each number separated by a dot or period. For example, 18.104.22.168 is an IP address.
If you want to call a phone, you dial its phone number. If your computer wants to talk with another computer, it uses its IP address. IP addresses are the only way two computers can make a connection between one another on the Internet. One computer says, "I want to make a connection to 22.214.171.124" and a lot of magic happens and the computers are connected.
One problem with IP addresses is they are not very "human-friendly". We humans are much better at remembering "facebook.com" instead of 126.96.36.199 and "sears.com" instead of 188.8.131.52.
(Here's a good party trick: bet your friends that, by typing only numbers, you can visit the Facebook site. Then type 184.108.40.206 in your web browser's address bar and watch what happens.)
In the very early days of the Internet (before the world wide web), users had to remember and type the IP addresses to connect their computer to another. As the Internet grew, the scientists and engineers building it set out to create a way for administrators to give names to each computer, then develop a system which would convert the name into a good, old-fashioned IP address. They named their creation the Domain Name System. (More evidence why engineers aren't in marketing.)
The DNS is made up of thousands of computers referred to as "servers". Each one of those servers has a list of names and their corresponding IP addresses. You can think of the servers like the old telephone operators. If you wanted to call someone but didn't know the number, you would call an operator and tell them the name. They would have a directory, or list, of names and their numbers. They'd look up the name in the list, then give you the number. The operator's list is not complete, since it would be too big to manage and search. The operators would then ask other operators for the listings they didn't have in their own list. Also, there are 26 special operators called the "root" DNS Servers. These operators are special because they know which operator is responsible for which domain names.
Posted in Help Me Understand