![]() |
Answer: DNS resolves domain names to IP addresses by querying hierarchical DNS servers, starting from the local resolver, root servers, TLD servers, authoritative DNS servers, and caching responses.Below are the steps describing how DNS resolves domain names to IP Addresses. Step 1: Domain Name Resolution RequestWhen the user enters any specific domain name (eg. www.horje.org) in the web browser, the browser sends the DNS resolution request to the local DNS server. Step 2: Local DNS ResolverIt mainly checks its cache for the IP address corresponding to the domain name. If the IP address is not cached, then the resolver forwards the request to the root DNS servers. Step 3: Root DNS ServersThe route DNS servers actually has the information regarding to the top level domain servers like .com, .org, .net. If the resolver does not have the IP address, it queries the root DNS servers to get the authoritative DNS server from the specific top level domain DNS server. Step 4: TLD DNS ServerThe TLD DNS server mainly provides the IP address to the Authoritive DNS server.This TLD is mainly responsible for the requested domain. Step 5: Authoritive DNS ServerThe Authoritive DNS server is responsible for the specific domain name which is queued. This Server actually stores the mapping between domain names and ip address in its zone files. Step 6: IP Address ResponseWhen the Authoritive DNS server receives the query, it responds to the DNS resolver with the IP address for the domain name. Step 7: Response to ClientThe local DNS server sends the IP address back to the client’s web browser. |
Reffered: https://www.geeksforgeeks.org
Computer Networks |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |