Amazon Interview Question

Describe what happens when you type amazon.com into a browser.

Interview Answers

Anonymous

Sep 11, 2019

1) This question is related to DNS knowledge. 2) When you type amazon.com in your browser the request goes to DNS resolver (mantained by ISP). 3) DNS resolver will further query to DNS root name resolver. 4) Root name resolver would find .com and send it to dns name server .com TLD 5) DNS name server would know where amazon.com is registered...probably router53 name server 5) It will sent to Amazon router 53 name server and route53 name server will look into the hosted zone for amazon.com record. 6)

1

Anonymous

Nov 9, 2021

This is related to Windows systems. When you submit a name for DNS resolution the system initially checks the HOSTS file to see if the entry is there. If it is not there, the DNS cache on the system is checked to see if the entry can be resolved there. If there is no resolution at that point, the system submits the entry to the name servers specified in the IP setup. If those systems do not have an entry, the entry is submitted to the root host. The root host specify the name server able to resolve the entry if it exists. If the entry is resolved at any point, the ip address is returned.