Skip to main content

Posts

Showing posts from June, 2022

How DNS server works internally?

  DNS-Domain Name System is a system that translates website names to IP addresses.   As you can see in the above picture we have taken a website "www.rahulsai.com" so now the following steps will describe how DNS works internally. 1. We will enter a website in our web browser, here we took "www.rahulsai.com" 2. Now this website will go to the ISP(Internet Service Provider) from ISP it will go to the DNS resolver. Here the resolver will be operated by the ISP. So now this will start looking at the website name in its local cache if it is found then it will return to the web browser. 3. If the website is not found in the local cache then the resolver sends the request to the "ROOT SERVER". The root server will be checking the TLD(Top Level Domain) of the website. Note1: There are a total of 13 root servers across the globe. Note2: TLD-Top level Domain are .com, .dev, .org, etc which come after the domain name and are known as TLD. For ex: www.