Assignment 8
Assignment 8
1) (2 points) Consider an HTTP client that wants to retrieve a Web document at a given
URL. The IP address of the HTTP server is initially unknown. What transport and
application-layer protocols besides HTTP are needed in this scenario?
a) DNS to obtain the IP address of the HTTP server, The IP address of the host to
send the information back to, and the transmission protocol such as UDP or
TCP.
2) (2.5 points) Consider the following string of ASCII characters that were captured by
Wireshark when the browser sent an HTTP GET message (i.e., this is the actual
content of an HTTP GET message). The characters <cr><lf> are carriage return and
line-feed characters (that is, the italized character string <cr> in the text below
represents the single carriage-return character that was contained at that point in
the HTTP header). Answer the following questions, indicating where in the HTTP GET
message below you find the answer.
3) (2.5 points) The text below shows the reply sent from the server in response to the
HTTP GET message in the question above. Answer the following questions,
indicating where in the message below you find the answer.
a) Was the server able to successfully find the document or not? What time
was the document reply provided?
i) Yes, and the time was Tue, 07 Mar 2008
12:39:45GMT
b) When was the document last modified?
i) Sat, 10 Dec2005 18:27:46
GMT
c) How many bytes are there in the document being returned?
i) 3874
d) What are the first 5 bytes of the document being returned?
e) ><!doctype html public ”-
//w3c//dtd html 4.0transitional//en”><lf><html><lf>
<head><lf> <meta http-equiv=”Content-Type”
content=”text/html; charset=iso-8859-1”><lf> <meta
name=”GENERATOR” content=”Mozilla/4.79 [en] (Windows NT
5.0; U) Netscape]”><lf> <title>CMPSCI 453 / 591 /
NTU-ST550ASpring 2005 homepage</title><lf></head><lf>
f) Did the server agree to a persistent connection?
yes, but timeout is 100sec
4) (1 point) Is it possible for an organization’s Web server and mail server to have
exactly the same alias for a hostname (for example, foo.com)? What would be the
type for the RR that contains the hostname of the mail server?
Yes, where MX directs mail traffic.
5) (2 points) Use nslookup (show the commands and outputs) to answer the following
questions:
a) Find a canonical mail server name for the mail alias lwtech.edu.
i) lwtech-edu.mail.protection.outlook.com
b) Find the IP address of an lwtech mail server.
i) The one above has a few:
ii) 52.101.8.42
iii) 52.101.11.3
iv) 52.101.42.14
v) 52.101.40.2
c) Query your local dns to find the IP address of an lwtech webserver
(www.lwtech.edu). Is the result from cache or not?
i) 44.236.166.115, the result is non-authoritative and therefore cached
d) Query an authoritative name server to find the IP address of an lwtech
webserver (www.lwtech.edu).
i) 168.156.8.90