Domain Name System

·

1 min read

DNS is used to map the domain names with the IP address. Whenever we go to facebook, yahoo then we are typing domain names instead of IP address. It’s because as a user we will remember the names or pictures very fast. When we search phone book, we are searching for person. Once we find the person then we can easily get their number, we don’t need to remember the contact number of a person. Domain names won’t change the name of website if you host the application via web provider but the IP address changes dynamically.

When you type the domain names in URL and hit Enter, then the request will goes to Resolver. The Resolver will send the same request to root server. Root server tells resolver that you can go to generic level domain or country level domain like .in, .com, .mil ,.edu. This level will send the response to Resolver. After that Resolver will send the request to Authoritative Server which contains domain names with different IP address, it will give any one ip address to resolver.