Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There's no guaranteed always-correct answer, but there are a few likely possibilities.</p> <p>If the client is configured for <a href="http://www.freesoft.org/CIE/RFC/1035/45.htm" rel="nofollow">DNS over UDP</a>, then the first packet will be a UDP datagram containing a <a href="http://www.freesoft.org/CIE/RFC/1035/39.htm" rel="nofollow">DNS query</a> to resolve <code>www.google.com</code> to an IP address. </p> <p>If the client is configured for <a href="http://www.freesoft.org/CIE/RFC/1035/46.htm" rel="nofollow">DNS over TCP</a> and the browser hasn't already got an established TCP connection to the DNS server, the first packet will be part of the connection handshake to DNS, and therefore the answer will be that a <code>SYN</code> packet is first out of the gate.</p> <p>If the browser has been coded to maintain a long-lived TCP connection to the DNS server and assuming the DNS server has allowed the connection to stay alive, the first packet will be a DNS query, sent across the existing connection to that DNS server.</p> <p>Finally, if the browser had recently visited <code>www.google.com</code> recently and is built to do some smart local caching of DNS query results then the first packet will be a SYN to establish a new connection to Google's web server. </p> <p>If you want to be glib but absolutely precise about it, drop down a layer for your answer and say, <em>"The first packet out will be an Ethernet frame containing a payload which supports whatever higher-level protocol is needed for the browser to serve up www.google.com".</em> In fairness, the question is about the Ethernet layer...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload