This site was migrated to a new server on Friday, April 28. If you run into any problems, please open a bug

OSQA is unmaintained. Help us figure out where to go from here.


I got a basic doubt regarding opening TCP connections to fetch multiple HTTP objects pertaining to a website.

Here is an example:

I clicked and captured port 53(DNS) packets associated to that site

Sample queries included






Here, on my browser i typed only but my doubt is who will inform to client that in order to get full page it needs to open connections to ,ajax.............


asked 22 May '13, 14:57

krishnayeddula's gravatar image

accept rate: 6%

edited 22 May '13, 15:24

A webpage consists of many objects, like images, javascript files, stylesheets etc. Most of the object are coming from the site itself or maybe another server in the same site (like:

However, there can also be objects linked from other sites like the ones that you have found. Think of ad-banners, statistics (like google-analytics), or social media links (like facebook).

permanent link

answered 22 May '13, 15:24

SYN-bit's gravatar image

SYN-bit ♦♦
accept rate: 20%

If it is from and assume that there is no load balancer in front of disney web farm so that it will result in different ip address compared to this case who will tell to client that "Hey! in order to get images from disney you need to go to"

(22 May '13, 15:49) krishnayeddula

and in second case like analytics or Facebook who told to my client to open connections to or i did was typing and waiting for objects to load but lot of things happened in back end.

(22 May '13, 15:51) krishnayeddula

There are links in the html file (or created by javascript code) pointing to the external objects. The browser needs to download the objects to be able to show the whole page. So in order to fetch the objects, it will need to do a dns lookup first :-)

(just like it does the dns lookup for

(22 May '13, 15:56) SYN-bit ♦♦

While Wireshark is pretty good at helping you work out how a browser works, you are probably better off using the debugging tools available for browsers. These probably allow better context for the various HTTP calls that are triggered.

Chrome has debugging tools under the Tools > Developer Tools and then click the Network tab Firefox has the Firebug add on Internet Explorer has Tools > Developer Tools (or press F12)

permanent link

answered 22 May '13, 16:12

martyvis's gravatar image

accept rate: 7%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 22 May '13, 14:57

question was seen: 2,379 times

last updated: 22 May '13, 16:12

p​o​w​e​r​e​d by O​S​Q​A