SNT Computer

What is DNS (Domain Name System)?


Listen Later

What is DNS (Domain Name System)?

DNS (Domain Name System) performs the task of converting URLs to IP addresses. Its most important purpose is to give users the opportunity to visit websites in a much more comfortable way. Without DNS, we would have to enter numerical strings when connecting to a website.

Every computer, web server, and network device connected to the Internet has an IP address. In some cases, it is also possible to enable all computers in a home, office, or building to share a single IP address to connect to the Internet through the Network Address Translation method.

Since DNS is a distributed service, there is no single server site that performs the entire service. Instead, this task is carried out by millions of domain name servers that constantly update each other.

DNS History

Before 1984, DNS was not used, until that year, IP address resolution was done manually by keeping it in a text file on behalf of HOSTS.

The IP addresses of the computers you would connect to or access on the Internet were manually added one by one. Computers first examined this Host file to communicate and if the ip address was defined there, they could communicate, but if it was not, they could not communicate.

In order for this system to be good and functional, the HOSTS file was constantly being kept up-to-date, updating this process in line with the list that came periodically at Stanford University.

This system reached a size that could no longer be updated due to the ever-increasing number of computers over time, and people were struggling to download this Hosts file because the content of this file was not available for download due to constantly added computer lists, Stanford University computers were constantly crashing.

They produced DNS in 1984 in order to be a solution to all this. DNS both organized the databases on the computer and ensured the establishment of a healthy hierarchical structure between computers.

How Does DNS Work?

DNS translates these domain names to IP address and directs the device you connect to the internet to the correct address you want. A domain name and its matching IP address are called "DNS records".

1. Click on a website in your browser. If the DNS records are found in your computer's DNS cache, the rest of the DNS lookup will be skipped and you will immediately log into the website you want to access.

2. If the DNS record is not found, a query is sent to your local DNS server. This is usually your internet provider's server and is often referred to as "resolving name server".

3. If the records are not cached on the resolving name server, the request is forwarded to the root name server to find the DNS records. Root nameservers are designated servers responsible for storing DNS data worldwide and keeping the system running smoothly. When the DNS record is located on the root name server, it is cached by your computer.

4. Now that the DNS records are found, a connection will be opened to the server where the website is stored, and the website you want to log in will be displayed on your screen.

...more
View all episodesView all episodes
Download on the App Store

SNT ComputerBy M. Sean