0

So a book I am reading has this nice image:

enter image description here

So it is suggested that once a client asks a DNS server an IP for a host, actually the DNS server does not respond back with the IP but rather find the IP, send the same request to the ip but the response comes back to the client..

This is very confusing for me since the accepted answer here: Http Request Life Cycle does not fit with this one at all.

Which is correct?

Community
  • 1
  • 1
Koray Tugay
  • 22,894
  • 45
  • 188
  • 319
  • The one in [Http Request Life Cycle](http://stackoverflow.com/questions/4814514/http-request-life-cycle) is the correct one. DNS doesn't know anything about the applications that use it and a DNS server will definitely not make requests to a web server on a client's behalf. – PoByBolek Nov 26 '14 at 21:45
  • i have created an extensive answer for this commonly asked question here: https://github.com/hardikvasa/http-connection-lifecycle – hnvasa Jul 01 '19 at 16:29

1 Answers1

1

That image is completely wrong. It would probably be a good idea to stop reading that book.

Calle Dybedahl
  • 5,228
  • 2
  • 18
  • 22