Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9120817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:42:33+00:00 2026-06-17T05:42:33+00:00

lets say that i have an a web browser. trying to connect to www.google.com.

  • 0

lets say that i have an a web browser.
trying to connect to http://www.google.com.

the web browser send a DNS request on port 53 to the transport layer.
the transport layer encapsulate the request into a segment on TCP and transfer it to the network layer.

the network layer identified the packet and use the defulte DNS server ip address and send it to the Link Layer.

The Link Layer use ARP and etc..

getting the response.

the Link layer transfers to the network layer , and here is my question :).

does the network layer hold any table of hostname to ip?

from now on , the response should bubble up to the application layer.
dose the application layer add the ip that was extract from the dns request to the packet?

from what i understand the application layer should try to bind to a port , and then the transport layer should connect it some how via socket to the host name/ip or to report to the ip layer to do it.

but the question is how ?

thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:42:34+00:00Added an answer on June 17, 2026 at 5:42 am

    The DNS response is simply a UDP packet containing a header followed by application-related data body. The data includes the domain name of the request, but this is for the benefit of the application that made the DNS request, not the network layer. The network layer does not analyse the content of the data body.

    It’s the application layer that decodes the DNS response packet and stores the IP address for subsequent use when it binds to a port; binding knows nothing about DNS names, it only knows IP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say you have a web app related Android app that requires the user
Let's say we have a mobile-friendly website www.mywebsite.com that I want to quickly turn
Let's say that I have something like this in my web.xml file. <filter name=foo>
Lets say that i have 2 pages: index.php and service.php index.php sends an http-post
Lets say that you have a following simple application: <form action=helloServlet method=post> Give name:<input
Lets say that i have a duration of time e.g., 10 minutes . I
Lets say that you have a business object whose current state implies that there
Lets say that I have an executable and when it is started I want
Lets say that I have only DHT (distributed hash table) implemented (in Python), and
Lets say that I have the following code: public class Shelter<A extends Animal, B

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.