Amazon Interview Question
Software Engineer / DevelopersTeam: AWS
Country: United States
Interview Type: Phone Interview
this is not wholly correct. The http request doesn't go to DNS. It's a simple name to IP(s) UDP based query and http has nothing to do with. Since the name can be resolved to multiple IPs, the http-client (browser) has to pick one. Also first it's checked the local DNS cache and any other DNS rules.
The http request goes to the dns server...gets resolved to an ipadress.
- quickpuzzlesolver December 25, 2011The ipadress is then located as the call travels through a series of routers(Part of tcp/ip).
The server then process the request and emits html which travels back to the source
as a http response(application layer) riding over tcp/ip.