AfterAcademy Tech
•
29 Feb 2020

Whenever we make a search on the internet, we generally request some services of the server. We make use of user-friendly words and keywords to request the services, or make the search. But, we know that the computer understands only the low-level binary data, not the user-friendly data. We also know that each device on the network has an IP(Internet Protocol) address through which we can reach to that device. The IP address can be in decimal, hexadecimal, or alphanumeric format, which is very tough for a user to remember. So, they use the user-friendly keywords to search the devices over the network. Thus, we need to map the user-friendly keywords with the IP addresses to make use of it.
Previously, when the number of server machines or websites was less, there is a centralized file containing the key-value pair. Here, the user-friendly name acts as a key, while the IP address acts as a value. This file simply performs the mapping of keys and values together. But with the advancement of technology and an excessive increase in the number of server machines or websites, the centralized file fails to provide the mapping. Thus, we need a system to structure these things to meet the present-day mapping requirements, and hence we use a Domain Name System(DNS).
So, in this blog, we'll mainly learn about the Domain Name System(DNS) in detail. We'll also see the working of the DNS, and its two types, i.e., Authoritative, and Recursive DNS.
Now, let us study these things one by one.
The Domain Name System(DNS) is a system that is used to map an IP address with an alias name. It is much similar to a telephone book, where we store the names corresponding to the phone numbers. DNS mainly translates the user-friendly domain names to IP addresses, so that the user can access the contents stored at that IP address. For Example, www.demo.com can be the domain name for an IP address say, 198.115. 212.1.
DNS records are distributed across the globe. All the information of the DNS system is decentralized, so as to reduce the dependency on a centralized source. Hence, the host computers can access the nearest computer holding the domain system information.
Following are the key terms associated with DNS:
Following are the two classifications of Domain Name System:
Working of DNS:
The host computer uses some application programs to access the domain name. The application program communicates to the Recursive DNS, which in turn communicates to the Authoritative DNS to translate the domain name to the equivalent IP address. Hence, the contents of that IP address can be fetched and displayed on the application program.
This is all about the Domain Name System, it's working, and various types. Hope you learned something new today. That's it for this blog.
Do share this blog with your friends to spread the knowledge. Visit our YouTube channel for more content. You can read more blogs from here.
Keep Learning 🙂
Team AfterAcademy!