Assignment 5
Assignment 5
Submitted To:
Dr. Akmal Khan
Submitted By:
Muqaddas Fatima
MSCS (1st Semester)
SP20M2LA054
Assignment 5
Part 1: nslookup
nslookup indicates that the answer is “non-authoritative,” meaning that this answer
came from the cache of some server rather than from an authoritative IUB DNS server.
nslookup indicates that the answer is “non-authoritative,” meaning that this answer
came from the cache of some server rather than from an authoritative MIT DNS
server.
Assignment 5
For this query, I used the webpage for Oxford University in England. This webpage is
http://www.ox.ac.uk. The authoritative DNS server is raptor.dns.ox.ac.uk.
I also performed the command which is in given file see the screenshot below.
Part 2: IPconfig
There are no questions for part two of this lab. But there are some commands to perform.
For example Run Ipconfig /all on our current machine. This will display my machine current
TCP/IP information, including my IP address, DNS server address and other additional
information.
It then asks that we display our recent cached memory by using the command ipconfig
/displaydns.
Assignment 5
Finally, we are told to clear the above cache by entering Ipconfig /flushdns.
4. Locate the DNS query and response messages. Are then sent over UDP
or TCP?
The DNS query and response messages are sent over UDP.
5. What is the destination port for the DNS query message? What is the
source port of DNS response message?
The destination port is 53.
The source port is 53.
The DNS query was sent to IP address 192.168.1.1. Yes it is the same IP address as that
of my local DNS server.
7. Examine the DNS query message. What “Type” of DNS query is it? Does
the query message contain any “answers”?
The query message was a type “A” query, but the message did not contain any
“answers.”
9. Consider the subsequent TCP SYN packet sent by your host. Does the
destination IP address of the SYN packet correspond to any of the IP
addresses provided in the DNS response message?
The first SYN packet was sent to www.itef.org.cdn.cloudflare.net which corresponds
to the first CNAME provided in the DNS response message.
The second SYN packet was sent to 104.20.1.85 which corresponds to the first IP
address provided in the DNS response message.
The third SYN packet was sent to 104.20.0.85 which corresponds to the first IP address
provided in the DNS response message.
10.This web page contains images. Before retrieving each image, does your
host issue new DNS queries?
No, my host did not issue new DNS queries before the images were retrieved.
Assignment 5
11.What is the destination port for the DNS query message? What is the
source port of DNS response message?
The destination port is 53.
The source port is 57170.
12.To what IP address is the DNS query message sent? Is this the IP address
of your default local DNS server?
The DNS query is sent to IP address 192.168.1.1. Yes it is the same IP address as that
of my local DNS server.
13.Examine the DNS query message. What “Type” of DNS query is it? Does
the query message contain any “answers”?
The DNS query message is a type “A” query, containing only one question and not
containing any answers.
14. Examine the DNS response message. How many “answers” are
provided? What do each of these answers contain?
The response DNS message contains three answers containing the name of the host,
the type of address, the class, and the IP address.
15.Provide a screenshot.
I have already attached screenshot to the answer of every question.
Assignment 5
16.To what IP address is the DNS query message sent? Is this the IP address
of your default local DNS server?
The DNS query is sent to IP address 192.168.1.1. Yes it is the same IP address as that
of my local DNS server.
17.Examine the DNS query message. What “Type” of DNS query is it? Does
the query message contain any “answers”?
The DNS query is a type “NS” message including one question. The query message did
not contain any answers.
Assignment 5
18.Examine the DNS response message. What MIT nameservers does the
response message provide? Does this response message also provide the
IP addresses of the MIT nameservers?
The nameservers are usw2, asia2, eur5, use5, ns1-37, ns1-173, asia1 and use2. No, this
response message doesn’t provide the IP addresses of the MIT nameservers. If Wireshark will
provide additional information then we can find their IP addresses. But in this response
message Wireshark doesn’t provide additional information as seen below.
19.Provide a screenshot.
I have already attached screenshot to the answer of every question.
Assignment 5
20.To what IP address is the DNS query message sent? Is this the IP address
of your default local DNS server? If not, what does the IP address
correspond to?
The DNS query is sent to IP address 192.168.1.1. Yes it is the same IP address as that
of my local DNS server.
21.Examine the DNS query message. What “Type” of DNS query is it? Does
the query message contain any “answers”?
The DNS query is a type “A” message including only one question. The query message
did not contain any answers.
Assignment 5
It only provided one “answer” containing the servers IP address, however, the server
also returned a flag that stated that it could complete a recursive query.
23.Provide a screenshot.
I have already attached screenshot to the answer of every question.