In this post, we will talk about a crucial part of the Internet, the Domain Name System, or DNS.
So what is DNS?
Well, it’s a translation system that allows us, humans, to search the Internet using language we’re comfortable with. Without DNS, the Internet as we know it would not exist. For example, you couldn’t do your shopping online; you’d have to drive to an actual store to buy your things. There’d be no way to stream music or videos to your smartphone, and no way to video chat with a friend across the street, or even across the ocean.
But what does DNS have to do with this?
The Internet is made up of computers that are set up in large networks around the world. These networks are connected by a web of underground, and in some cases, undersea wires. Computers on the Internet communicate with each other using strings of numbers called Internet Protocol, or IP addresses. IP addresses function like street addresses; they identify where a computer is located on the Internet, and help guide the information traveling between computers.
Now it’s one thing for computers to communicate using strings of numbers, but imagine if we humans had to memorize these seemingly random numbers strings, for every single website we wanted to find… not very realistic, right? Well because of DNS, we don’t have to. DNS translates the human-friendly domain names that we’re comfortable using into the IP addresses that computers need to communicate with one another. When you type a domain name into your web browser, your browser determines if it already has the domain’s related IP address in their memory. If it’s a domain that you’ve recently visited, like maybe a newspaper you look at every day, your browser may have stored the domain name and IP address in its memory, and can display the website in a split second.
If the domain isn’t found in local memory, your computer takes the search out to the Internet where it asks, or queries, a series of DNS servers if they have the domain name in their memory or a database. The first DNS server that receives the query checks its memory for the domain name. If it doesn’t find the domain name in its memory, it sends the query on to the next DNS server to see if it can help.
As soon as the domain name is found on a DNS server that server returns the domain name and its IP address to the requesting DNS server and on down the line until it arrives back at your computer.
Each time a requesting DNS server receives a domain name and IP address, the server stores the information in its memory, so any future requests for the domain name can be found quickly.
Once your computer has the IP address for the domain name, your browser knows where to find it on the Internet. Your browser uses your computer to communicate with the server where the domain name is hosted and requests any associated files. The host server returns the files, which then display in your web browser.
Our ability to use domain names to quickly and easily retrieve websites and files from the Internet is entirely dependent on this tightly integrated and tiered line of communication.
So basically, without DNS, we all would need to memorize IP addresses in order to visit websites on the internet.
Speaking of DNS, Purchase an Hosting Plan now and get a FREE Domain Name. Click here to register.
Feel free to ask your questions in the comment section below :).