How does DNS works?
Firstly
What is DNS?
DNS is defined as the Domain Name System. Domain name system translates domain names into ip addresses, which is loaded by the browser. Every website, every domain has ip address. It is required for the functioning of the internet.
How DNS works?
Web browser (Client) sends request to the web server, and the web server contains the files of only authorized clients. To determine whether the client is on the authorized list or not, it sends a query to the DNS server and ask for mapping an address to the name. Then DNS resolver sends a request to the DNS server to obtain the IP address of a hostname. DNS resolver is a piece of software code.
DNS resolver sends requests to the root server, then root server directs the DNS resolver to the correct TLD server for the requested domain. DNS resolver again redirects to the Top Level Domain (TLD) server, TLD server shares information of all the domain names that shares the extensions such has .com,.edu, .gov etc. TLD responds with the IP addresses of the of the domain name server.
DNS resolver again sends the request to the authoritative name server for the information, Authoritative name server contains information related to domain. It responds with the domain IP Addresses. ANS responds back to the DNS resolver.
At last DNS Resolver responds to the web browser with the IP address for the requested domain.
Types of Domain
Generic Domain : .com, .edu, .net
Country domain : .in, .ca, .au
Inverse domain : Inverse domain is used for mapping an address to a name.
Comments
Post a Comment