DEV Community

Sumit Roy
Sumit Roy

Posted on • Edited on

3

Finding Packets

Where is my request?

When a URL is typed in the browser it checks whether DNS mapping of IP address is there or not in cache. If it is there then it requests the server for the documents else OS does a recursive query to the DNS resolver and converts the domain name into IP. You can check your chrome DNS cache by going to this link. Here is a screenshot of mine.

alt text

After resolving IP by either of the ways our browser behaves like a client and request a server on that IP to serve documents. We can use telnet also for requesting a server. Yes, that's exactly what I did.

Finding packets

I requested our college server i.e https://www.kgec.edu.in and got the following result.

alt text

So my request is going through this route which is nearly 1410 miles. This gives me an idea of how fast we are getting information about our world through this amazing man made the invention, "the internet".

For going through the code I wrote for this go to this link.

Here is the index of all the post regarding this series of snipcode developemnt

Part I: App Idea
Part II: App prototype
Part III: Local Development
Part IV: G for Git
Part V: Data Modeling
Part VI: Data & Auth APIs
Part VII: Basic Functionalities
Part VIII: App Screen 1
Part IX: App Screen 2
Part X: App Screen 3
Part XI: User Reviews
Part X: Final Submission

Liked my post?

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay