How does DNS work?

Today we are going to find out how the browser understands its definition followed by an explanation and where the site is located when we enter the domain in the address bar. Continue reading this article to learn more about this essential tool for connecting to the internet.

What is DNS?

DNS is a technology that helps the browser find the right website by its domain name. You already know that computers are found on the internet by IP addresses. To connect to a server with a specific site, you need to know its IP address. Click here for more details https://www.tipsyoumustknow.com/. Mobile communication works the same way: to call a specific person, you need to know their number. It's not practical for people to use long combinations of numbers, so they came up with the idea of associating IP addresses with plain text names, domains. Yet remembering google.com is easier than 216.58.209.14. In the same logic, we save important numbers in the smartphone contacts. Only in the case of domains, you do not have to save anything. We simply enter the domain in the address bar, and the browser itself finds the IP address of the required server and opens the site.

How it worked

In the early days of the Internet, domains were assigned IP addresses manually. They were written to a hosts.txt text file in the following format: 216.58.209.14 google.com. In fact, it was a list of contacts, like in a smartphone. When a user entered a domain in the address bar, the browser checked the file and took the IP address. The main file was managed by the Stanford Research Institute. To add a new site to the list, one had to call the institute by phone. After that, all the computers on the network had to download the updated file. Over time, this approach became very time consuming and they decided to improve the technology. A new system was invented in 1984 and called DNS (Domain Name System).