
A 26 - Write a blog on "How a request originates from client and reaches the server ?"
I tried to understand what actually happens when I type a URL in the browser and press enter. When I type a website like www.facebook.com the process starts from my system which acts as the client. The browser first needs to find the IP address of this domain because machines understand IP addresses only. So the browser starts a DNS query. It first checks if the IP is already stored locally. If not, the request moves to the sub resolver. This sub resolver sends the query to a main resolver, The main resolver now finds the IP address. It starts by contacting the root name server. The root server doesn’t know the IP, but it points to the TLD server. TLD stands for Top Level Domain, like .com , .org , etc. the resolver contacts the TLD server. The TLD server responds with the sld which handles the specific domain (this is second level domain, like amazon ).This server contains the zone file which has the mapping of domain names to IP address. Once the IP address is found, it is sent back
Continue reading on Dev.to Webdev
Opens in a new tab

