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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay