HW 2 Data Comms

docx

School

Mississippi State University *

*We aren’t endorsed by this school

Course

4833

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

4

Uploaded by PrivateExploration2901

Report
Data Comms HW 2 Question 1 A.
B. Say we type Amazon.com into a browser. The following procedure would occur First the web browser would recognize the name/calls to the local resolver. The resolver checks the cache to see if it already has the address for this name. If it does it returns it, then the resolver does a recursive query and sends it to the local DNS server. Then the DNS checks if it has the content and if it does it returns to the resolver. Next the DNS does an iterative request then sends it to the root name server. Once sent to the root name server it sends back to the DNS. The local DNS then generates an iterative request then sends to the name server for request of .com. Then on the name server it returns the name and address for Amazon.com. Next the DNS server does another request in the name server for Amazon.com sends it to the name server then the name server gets the request. After the request it gets the name and sends the IP address back to the DNS server. After that the DNS server sends it back to the resolver to the resolver on the local machine then from the local resolver it gives the address to the browser. Lastly the browser sends a HTTP request to Amazon’s IP address. C. 8.8.8.8 is the primary DNS server for Google DNS https://www.whatsmydns.net/articles/8- 8-8-8.html#:~:text=8.8%3F,reliable%20for%20all%20Internet%20users. Question 2
A. B. The top-level Domain of the URL is .gov C. The Ip address of the web server is 192.251.58 Question 3 A. They cannot, though. The infrastructure that implements a link in the overlay is hidden, and the link's distance indicator is also absent. B. n = 100, Routing Table: n, Finger table: n, Message size: log n Question 4 A. For instance, the search result page is a "location" and should be sent via GET since the user will want to bookmark it or retrieve it from their history later. The user can only reconstruct the page by submitting the form once more if the form is submitted using POST. On the other hand, you would not want to send a GET request if you were to conduct an action, such as pressing a delete button, as the activity would be repeated each time the user visited the URL.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
B. The client's browser stores a cookie that the server sends to them. This cookie is sent along every time the browser connects to the server, enabling the server to see the status of earlier client-server exchanges. Question 5. A. Sequence numbers are required for a receiver to find out whether an arriving packet contains new data or is a retransmission. B. Timers were developed to find lost packets. The packet is assumed to have been lost if the ACK for a transmitted packet is not received within the timeout for the packet. Consequently, the packet is sent again. C. Checksum works by checking the file's original checksum value can signal to all parties involved in the transmission that the file has been corrupted or altered by a third party. The recipient can then attempt downloading the file again or investigate what went wrong. Question 6 A. No it does not B. IMAP and POP3 C. HTTP