edited by
11,567 views
28 votes
28 votes

Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted.

  1. HTTP GET request, DNS query, TCP SYN
  2. DNS query, HTTP GET request, TCP SYN
  3. DNS query, TCP SYN, HTTP GET request.
  4. TCP SYN, DNS query, HTTP GET request.
edited by

3 Answers

Best answer
67 votes
67 votes

Here,

C) Seems correct answer.

Say you type www.google.com

FIrst you send DNS request to get IP address. Then you establish connection with IP of google using TCP. Finally you start talking in HTTP !

edited by
4 votes
4 votes
DNS --> Domain name converted to IP  address for that we need DNS

TCP --> Connection established using TCP

FTP --> web pages which is prepared in ur local host  move to a server for that we need FTP

HTTP -->  using HTTP we get web pages
1 votes
1 votes

The question is asking for the correct sequence of events when a browser requests a webpage from a remote server, given that the host has just been restarted.

The correct sequence is:

  1. DNS query: The client needs to resolve the server's domain name into an IP address to know where to send the request. This is accomplished using the Domain Name System (DNS).
  2. TCP SYN: Once the client has the server's IP address, it initiates a TCP connection with the server. This is done using a SYN (synchronize) packet, which is part of the TCP three-way handshake (SYN, SYN-ACK, ACK).
  3. HTTP GET request: Once the TCP connection is established, the client can send an HTTP GET request to the server to ask for the webpage.

So, option 3 (DNS query, TCP SYN, HTTP GET request) is the correct answer.

Answer:

Related questions

33 votes
33 votes
5 answers
2