Answered step by step
Verified Expert Solution
Question
1 Approved Answer
caching, DNS records and messages, and the TYPE field in the DNS record. 1. nslookup Let's start our investigation of the DNS by examining
caching, DNS records and messages, and the TYPE field in the DNS record. 1. nslookup Let's start our investigation of the DNS by examining the nslookup command, which will invoke the underlying DNS services to implement its functionality. The nslookup command is available in most Microsoft, Apple IOS, and Linux operating systems. To run nslookup you just type the nslookup command on the command line in a DOS window, Mac IOS terminal window, or Linux shell. In its most basic operation, nslookup allows the host running nslookup to query any specified DNS server for a DNS record. The queried DNS server can be a root DNS 1 References to figures and sections are for the 8th edition of our text, Computer Networks, A Top-down Approach, 8h ed., J.F. Kurose and K.W. Ross, Addison-Wesley/Pearson, 2020. Our website for this book is http://gaia.cs.umass.edu/kurose_ross You'll find lots of interesting open material there. With your browser, visit the Web page: http://gaia.cs.umass.edu/kurose_ross/ Stop packet capture. If you are unable to run Wireshark on a live network connection, you can download a packet trace file that was captured while following the steps above on one of the author's computers5. Answer the following questions. 5. Locate the first DNS query message resolving the name gaia.cs.umass.edu. What is the packet number in the trace for the DNS query message? Is this query message sent over UDP or TCP? 6. Now locate the corresponding DNS response to the initial DNS query. What is the packet number in the trace for the DNS response message? Is this response message received via UDP or TCP? 7. What is the destination port for the DNS query message? What is the source port of the DNS response message? To what IP address is the DNS query message sent? 8. 9. Examine the DNS query message. How many questions does this DNS message contain? How many "answers" answers does it contain? 10. Examine the DNS response message to the initial query message. How many "questions" does this DNS message contain? How many "answers" answers does it contain? 11. The web page for the base file http://gaia.cs.umass.edu/kurose_ross/ references the image object http://gaia.cs.umass.edu/kurose_ross/header_graphic_book_8E_2.jpg, which, like the base webpage, is on gaia.cs.umass.edu. What is the packet number in the trace for the initial HTTP GET request for the base file http://gaia.cs.umass.edu/kurose_ross/? What is the packet number in the trace of the DNS query made to resolve gaia.cs.umass.edu so that this initial HTTP request can be sent to the gaia.cs.umass.edu IP address? What is the packet trace for the initial HTTP GET request for the base file http://gaia.cs.umass.edu/kurose_ross/? What is the packet number in the trace of the DNS query made to resolve gaia.cs.umass.edu so that this initial HTTP request can be sent to the gaia.cs.umass.edu IP address? What is the packet number in the trace of the received DNS response? What is the packet number in the trace for the HTTP GET request for the image object http://gaia.cs.umass.edu/kurose_ross/header_graphic_book_8E2.jpg? What is the packet number in the DNS query made to resolve gaia.cs.umass.edu so that this second HTTP request can be sent to the gaia.cs.umass.edu IP address? Discuss how DNS caching affects the answer to this last question. Now let's play with nslookup7. 5 You can download the zip file http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces-8.1.zip and extract the trace file dns-wireshark-trace 1-1. These trace files can be used to answer these Wireshark lab questions without actually capturing packets on your own. Each trace was made using Wireshark running on one of the author's computers, while performing the steps indicated in the Wireshark lab. Once you've downloaded a trace file, you can load it into Wireshark and view the trace using the File pull down menu, choosing Open, and then selecting the trace file name. 6 Remember that this "packet number" is assigned by Wireshark for listing purposes only; it is NOT a packet number contained in any real packet header. You should get a trace that looks something like the following in your Wireshark window. Let's look at the first type A query (which is packet number 19 in the figure below, and indicated by the "A" in the Info column for that packet. dns Start packet capture. Do an nslookup on www.cs.umass.edu Stop packet capture. No. Time Source 19 6.003804 10.0.0.44 20 6.037987 75.75.75.75 31 10.494907 10.0.0.44 32 10.512877 75.75.75.75 User Datagram Protocol, Src Port: 57837, Dst Port: 53 Domain Name System (query) Transaction ID: 0x609b Flags: 0x0100 Standard query Questions: 1 Answer RRS: 0 Authority RRS: 0 Additional RRs: 0 Queries Destination 75.75.75.75 10.0.0.44 75.75.75.75 10.0.0.44 Frame 19: 76 bytes on wire (608 bits), 76 bytes captured (608 bits) on interface eno, id @ Ethernet II, Src: Apple_98:d9:27 (78:4f:43:98:d9:27), Dst: Intel 80:00:00 (00:50:f1:80:00:00) Internet Protocol Version 4, Src: 10.0.0.44, Dst: 75.75.75.75 [Response In: 201 0000 00 50 f1 80 00 00 78 4f 0010 00 3e c2 aa 00 00 40 11 0020 4b 4b el ed 00 35 00 2a 0030 00 00 00 00 00 00 03 77 0040 61 73 73 03 65 64 75 00 43 98 d9 27 08 00 45 00 17 43 0a 00 00 2c 4b 4b 06 77 60 9b 01 00 00 01 77 77 02 63 73 05 75 6d 00 01 00 01 Protocol Length Info DNS DNS DNS DNS -P dns-wireshark-trace-2 .pcaping KK *0 C @ C 5* W ass edu 76 Standard query 0x609b A www.cs.umass.edu 92 Standard query response 0x609b A www.cs.umass.edu A 128.119.240.84 80 Standard query 0x1462 A cc-api-data.adobe.io 208 Standard query response 0x1462 A cc-api-data.adobe.io A 52.5.6.70 A 52.7.200.11 T E KK X WWW.CS um + 12. What is the destination port for the DNS query message? What is the source port of the DNS response message? 1000030 00 00 00 00 00 00 03 11 0040 61 73 73 03 65 64 75 00 11 11 02 03 13 05 13 00 00 01 00 01 ******* W WW CS um ass edu 12. What is the destination port for the DNS query message? What is the source port of the DNS response message? 13. To what IP address is the DNS query message sent? Is this the IP address of your default local DNS server? 14. Examine the DNS query message. What "Type" of DNS query is it? Does the query message contain any "answers"? 15. Examine the DNS response message to the query message. How many "questions" does this DNS response message contain? How many "answers"? Last, let's use nslookup to issue a command that will return a type NS DNS record, Enter the following command: nslookup -type=NS umass.edu and then answer the following questions: 16. To what IP address is the DNS query message sent? Is this the IP address of your default local DNS server? If you are unable to run Wireshark and capture a trace file, or are using an LMS, use the trace file dns- wireshark-trace-2 in the zip file of traces in the footnote above to answer questions 12-16 below. 8 If you are unable to run Wireshark and capture a trace file, or are using an LMS, use the trace file dns- wireshark-trace-3 in the zip file of traces in the footnote above to answer questions 17-19 below. 17. Examine the DNS query message. How many questions does the query have? Does the query message contain any "answers"? 18. Examine the DNS response message. How many answers does the response have? What information is contained in the answers? How many additional resource records are returned? What additional information is included in these additional resource records? server, a top-level-domain (TLD) DNS server, an authoritative DNS server, or an intermediate DNS server (see the textbook for definitions of these terms). For example, nslookup can be used to retrieve a "Type=A" DNS record that maps a hostname (e.g., www.nyu.edu) to its IP address. To accomplish this task, nslookup sends a DNS query to the specified DNS server (or the default local DNS server for the host on which nslookup is run, if no specific DNS server is specified), receives a DNS response from that DNS server, and displays the result. Let's take nslookup out for a spin! We'll first run nslookup on the Linux command line on the newworld.cs.umass.edu host located in the CS Department at the University of Massachusetts (UMass) campus, where the local name server is named primo.cs.umass.edu (which has an IP address 128.119.240.1). Let's try nslookup in its simplest form: [newworld.cs.umass.edu> nslookup www.nyu.edu Server: Address: 128.119.240.1 128.119.240.1#53 Non-authoritative answer: www.nyu.edu Name: WEB.GSLB.nyu.edu Address: 216.165.47.12 Name: WEB.GSLB.nyu.edu Address: 2607:f600:1002:6113::100 canonical name = WEB.GSLB.nyu.edu. Figure 1: the basic nslookup command In this example the nslookup command is given one argument, a hostname (www.nyu.edu). In words, this command is saying "please send me the IP address for the (www.nyu.edu). In words, this command is saying "please send me the IP address for the host www.nyu.edu." As shown in the screenshot, the response from this command provides two pieces of information: (1) the name and IP address of the DNS server that provides the answer - in this case the local DNS server at UMass; and (2) the answer itself, which is the canonical host name and IP address of www.nyu.edu. You may have noticed that there are two name/address pairs provided for www.nyu.edu. The first (216.165.47.12) is an IPv4 address in the familiar-looking dotted decimal notation; the second (2607:f600:1002:6113::100) is a longer and more complicated looking IPv6 address. We'll learn about IPv4 and IPv6 and their two different addressing schemes later in Chapter 4. For now, let's just focus on our more comfortable (and common) IPv4 world. Although the response came from the local DNS server (with IP address 128.119.240.1) at UMass, it is quite possible that this local DNS server iteratively contacted several other DNS servers to get the answer, as described in Section 2.4 of the textbook. In addition to using nslookup to query for a DNS "Type=A" record, we can also use nslookup to nslookup to query for a "TYPE=NS" record, which returns the hostname 2 For Mac OS, if you want to work just in the IPv4 world: System preferences -> Network. Then select your active interface (e.g., Wi-Fi) and Advanced->TCP/IP. Then select the Configure IPv6 drop-down menu and set it to "Link-local only" or "Off"". (and its IP address) of an authoritative DNS server that knows how to obtain the IP addresses for hosts in the authoritative server's domain. newworld.cs.umass.edu> nslookup -type=NS nyu.edu Server: Address: 128.119.240.1 128.119.240.1#53 Non-authoritative answer: nyu.edu nameserver = ns2.nyu.org. nyu.edu nameserver = ns4.nyu.edu. nyu.edu nameserver = ns1.nyu.net. Authoritative answers can be found from: ns2.nyu.org ns1.nyu.net ns4.nyu.edu ns4.nyu.edu Figure 2: using nslookup to find the authoritative name servers for the nyu.edu domain internet address = 128.122.0.76 internet address = 128.122.0.8 internet address = 216.165.87.102 has AAAA address 2607:f600:2001:6100: 135 In the example in Figure 2, we've invoked nslookup with the option "-type=NS" and the domain "nyu.edu". This causes nslookup to send a query for a type-NS record to the default local DNS server. In words, the query is saying, "please send me the host names of the authoritative DNS for nyu.edu". (When the type option is not used, nslookup uses the default, which is to query for type A records.) The answer, displayed in the above screenshot, first indicates the DNS server that is providing the answer (which is the default local UMass DNS server with address 128.119.240.1) along with three NYU DNS name servers. Each of these servers is indeed an authoritative DNS server for the hosts on the NYU campus. However, nslookup also indicates that the answer is "non- authoritative," meaning that this answer came from the cache of some server rather than from an authoritative NYU DNS server. Finally, the answer also includes the IP addresses of the authoritative DNS servers at NYU. (Even though the type-NS query generated by nslookup did not explicitly ask for the IP addresses, the local DNS server returned these "for free" and nslookup displays the result.) nslookup has a number of additional options beyond "-type=NS that you might want to explore. Here's a site with screenshots of ten popular nslookup uses: https://www.cloudns.net/blog/10-most-used-nslookup-commands/ and here are the "man pages" for nslookup: https://linux.die.net/man/1/nslookup. Lastly, we sometimes might be interested in discovering the name of the host associated with a given IP address, i.e., the reverse of the lookup shown in Figure 1 (where the host's name was known/specified and the host's IP address was returned). nslookup can also be used to perform this so-called "reverse DNS lookup." In Figure 3, for example, we specify an IP address as the nslookup argument (128.119.245.12 in this example) and nslookup returns the host name with that address (gaia.cs.umass.edu in this example) [kurose@MacBook-Pro-6 % nslookup 128.119.245.12 75.75.75.75 75.75.75.75#53 Server: Address: N Non-authoritative answer: 12.245.119.128.in-addr.arpa name = gaia.cs.umass.edu. Authoritative answers can be found from: Figure 3: using nslookup to perform a "reverse DNS lookup" Now that we've provided an overview of nslookup, it's time for you to test drive it yourself. Do the following (and write down the results ). If you're doing this lab as part of class, your teacher will provide details about how to hand in assignments, whether written or in an LMS. If you're unable to run the nslookup command or are answering this question using an LMS, Figure 4 shows a screenshot of performing the nslookups in questions 1 and 4, that will allow you to answer the questions below. 1. Run nslookup to obtain the IP address of the web server for the Indian Institute of Technology in Bombay, India: www.iitb.ac.in. What is the IP address of www.iitb.ac.in 2. What is the IP address of the DNS server that provided the answer to your nslookup command in question 1 above? 3. Did the answer to your nslookup command in question 1 above come from an authoritative or non-authoritative server? 4. Use the nslookup command to determine the name of the authoritative name server for the iit.ac.in domain. What is that name? (If there are more than one authoritative servers, what is the name of the first authoritative server returned by nslookup)? If you had to find the IP address of that authoritative name server, how would you do so? [kurose@MacBook-Pro-6 ~ % nslookup www.iitb.ac.in 75.75.75.75 75.75.75.75#53 Server: Address: Non-authoritative answer: Name: www.iitb.ac.in Address: 103.21.124.10 [kurose@MacBook-Pro-6 ~ % nslookup -type=NS iitb.ac.in 75.75.75.75 75.75.75.75#53 Server: Address: Non-authoritative answer: iitb.ac.in fiitb.ac.in iitb.ac.in nameserver=dns1.iitb.ac.in. nameserver = dns2.iitb.ac.in. nameserver=dns3.iitb.ac.in. Figure 4: using nslookup to find the IP address of www.iitb.ac.in and the names of the authoritative name servers for the iitb.ac.in domain 3 For the author's class, when answering the following questions with hand-in assignments, students sometimes need to print out specific packets (see the introductory Wireshark lab for an explanation of how to do this) and indicate where in the packet they've found the information that answers a question. They do this by marking paper copies with a pen or annotating electronic copies with text in a colored font. There are also learning management system (LMS) modules for teachers that allow students to answer these questions online and have answers auto-graded for these Wireshark labs at http://gaia.cs.umass.edu/kurose_ross/lms.htm 2. The DNS cache on your computer From the description of iterative and recursive DNS query resolution (Figures 2.19 and 2.20) in our textbook, you might think that the local DNS server must be contacted every time an application needs to translate from a hostname to an IP address. That's not always true in practice! Most hosts (e.g., your personal computer) keep a cache of recently retrieved DNS records (sometimes called a DNS resolver cache), just like many Web browsers keep a cache of objects recently retrieved by HTTP. When DNS services need to be invoked by a host, that host will first check if the DNS record needed is resident in this host's DNS cache; if the record is found, the host will not even bother to contact the local DNS server and will instead use this cached DNS record. A DNS record in a resolver cache will eventually timeout and be removed from the resolver cache, just as records cached in a local DNS server (see Figures 2.19, 2.20) will timeout. You can also explicitly clear the records in your DNS cache. There's no harm in doing so - it will just mean that your computer will need to invoke the distributed DNS service next time it needs to use the DNS name resolution service, since it will find no records in the cache. On a Mac computer, you can enter the following command into a terminal window to clear your DNS resolver cache: sudo killall -HUP mDNSResponder On Windows computer you can enter the following command at the command prompt: ipconfig /flushdns and on a Linux computer, enter: sudo systemd-resolve --flush-caches 3. Tracing DNS with Wireshark Now that we are familiar with nslookup and clearing the DNS resolver cache, we're ready to get down to some serious business. Let's first capture the DNS messages that are generated by ordinary Web-surfing activity. Clear the DNS cache in your host, as described above. Open your web browser and clear your browser cache. Open Wireshark and enter ip.addr into the display filter, where is the IPv4 address of your computer. With this filter, Wireshark will only display packets that either originate from, or are destined to, your host. == 4 If you're not sure how to find the IP address of your computer, you can search the Web for articles for your operating system. Windows 10 info is here; Mac info is here; Linux info is here Start packet capture in Wireshark. With your browser. visit the Web page: http://gaia.cs.umass.edu/kurose ross/ Wireshark Lab: DNS v8.1 Supplement to Computer Networking: A Top-Down Approach, 8th ed., J.F. Kurose and K.W. Ross "Tell me and I forget. Show me and I remember. Involve me and I understand. " Chinese proverb 2005-2021, J.F Kurose and K.W. Ross, All Rights Reserved W James F. Kurose | Keith W. Ross STABD COMPUTER NETWORKING A TOP-DOWN APPROACH Eighth Edition As described in Section 2.4 of the text, the Domain Name System (DNS) translates hostnames to IP addresses, fulfilling a critical role in the Internet infrastructure. In this lab, we'll take a closer look at the client side of DNS. Recall that the client's role in the DNS is relatively simple - a client sends a query to its local DNS server, and receives a response back. As shown in Figures 2.19 and 2.20 in the textbook, much can go on "under the covers," invisible to a DNS client, as the hierarchical DNS servers communicate with each other to either recursively or iteratively resolve the client's DNS query. From the DNS client's standpoint, however, the protocol is quite simple a query is formulated to the local DNS server and a response is received from that server. Before beginning this lab, you'll probably want to review DNS by reading Section 2.4 of the text. In particular, you may want to review the material on local DNS servers, DNS caching, DNS records and messages, and the TYPE field in the DNS record. Question 4 0/1 point DNS-1 Lab: Q04 nslookup: name of an authoritative name server. Use the nslookup command to determine the name of the authoritative name server for the iitb.ac.in domain. What is that name? (If there are more than one authoritative servers, what is the name of the first authoritative server returned by nslookup)? Answer: kurose@MacBook-Pro-6% nslookup -type=NS iitb.ac.in Question 5 DNS-1 Lab: Q05.1 resolving gaia.cs.umass.edu (a). To answer questions 5-11 download the zip file http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces- 8.1.zip and extract he trace file dns-wireshark-trace1-1. This trace file contains packets sent and received in involved in retrieving the webpage http://gaia.cs.umass.edu/kurose_ross/, which will require resolving the name gaia.cs.umass.edu. Locate the first DNS query message resolving the name gaia.cs.umass.edu. What is the packet number[1] in the trace for the DNS query message? [1] Remember that this "packet number" is assigned by Wireshark for listing purposes only; it is NOT a packet number contained in any real packet header. 1) 15 1 / 1 point 2) 17 3) 22 DNS-1 Lab: Q13.1 resolving www.cs.umass.edu via nslookup (c). To what IP address is the initial DNS query message sent? Question 17 Enter the IP address in dotted decimal notation (include each dot, omit any leading zeros for any byte that is non-zero, and enter a O if one of the address bytes has a zero value, e.g., 10.0.216.54): Answer: Question 20 1 / 1 point DNS-1 Lab: Q13.2 resolving www.cs.umass.edu via nslookup (d). Is this the address of the local DNS server for the computer on which the nslookup was issued, or the authoritative name server for www.cs.umass.edu? 1) The local DNS server for the computer on which the nslookup was issued. 2) The authoritative name server for www.cs.umass.edu. Hide question 20 feedback Nice! This answer is correct. Question 21 0 / 1 point DNS-1 Lab: Q14.1 resolving www.cs.umass.edu (e). How many "questions" does this DNS message contain? GW-Q122g www.vWhat the he COM A 450 a ca asado via Pa DNS-1 Lab: Q14.1 resolving www.cs.umass.edu (e). How many "questions" does this DNS message contain? 1) 0 2) 1 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 21 feedback Not quite. This answer is incorrect. Question 22 0 / 1 point DNS-1 Lab: Q14.2 resolving www.cs.umass.edu (f). Examine the initial DNS query message. How many "answers" does this DNS message contain? 1) 0 2) 1 3) 3 -13ww.kup. To the www.the www.the ON-Le Q14.D comp 0/1 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 22 feedback Not quite. This answer is incorrect. Question 23 0 / 1 point DNS-1 Lab: Q15.1 resolving www.cs.umass.edu (g). Examine the DNS response message to the initial query message. How many "questions" does this DNS response message contain? 1) 0 2) 1 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 23 feedback Not quite. This answer is incorrect. Hack 12 in the header O-141 Examine the initial Onder QVII ZT 1) O DNS-1 Lab: Q15.2 resolving www.cs.umass.edu (h). Examine the DNS response message to the initial query message. How many "answers" does this DNS response message contain? 2) 1 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 24 feedback VI Not quite. This answer is incorrect. 1 Question 25 0 / 1 point DNS-1 Lab: Q16.1 querying a type NS DNS record. To answer questions 16-18, download the zip file http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces-8.1.zip and extract the trace file dns-wireshark- trace3-1. This trace file contains packets sent and received in involved in performing the nslookup described in questions 16-18 in the DNS Wireshark Lab v8.1 writeup. To what IP address is the query for the NS record being sent? Enter the IP address in dotted decimal notation (include each dot, omit any leading zeros for any byte that C's paning of the C ONS Q15th ution does the d +32 Question 25 0 / 1 point DNS-1 Lab: Q16.1 querying a type NS DNS record. To answer questions 16-18, download the zip file http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces-8.1.zip and extract the trace file dns-wireshark- trace3-1. This trace file contains packets sent and received in involved in performing the nslookup described in questions 16-18 in the DNS Wireshark Lab v8.1 writeup. To what IP address is the query for the NS record being sent? Enter the IP address in dotted decimal notation (include each dot, omit any leading zeros for any byte that is non-zero, and enter a O if one of the address bytes has a zero value, e.g., 10.0.216.54): Answer: Question 26 0 / 1 point DNS-1 Lab: Q16.2 querying a type NS record (b). Is this the address of the local DNS server for the computer on which the nslookup was issued, or the authoritative name server for umass.edu? 1) The local DNS server for the computer on which the nslookup was issued. 2) The authoritative name server for umass.edu. Hide question 26 feedback Not quite. This answer is incorrect. 1912...xin the De NS DNS 0/3 point 16-18 the and the and even the Enter the inte decimal notation include each dit, onit any leading meas for any bote that DNS-1 Lab: Q17.1 querying a type NS record (c). Examine the DNS query message being sent to get a NS record. How many "questions" does this DNS message contain? 1) 0 2) 1 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 27 feedback Not quite. This answer is incorrect. Question 28 0 / 1 point DNS-1 Lab: Q17.2 querying a type NS record (d). Examine the DNS query message being sent to get a NS record. How many "answers" does this DNS message contain? 1) O 2) 1 Q15 and 16-18 the Question 35 +12 6/1 14th of 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 28 feedback Not quite. This answer is incorrect. Question 29 0/1 point DNS-1 Lab: Q18.1 querying a type NS record (e). Examine the DNS response received in reply to the query message that was sent to get a NS record. How many "questions" does this DNS response message contain? 1) 0 2) 1 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 29 feedback 1917 they a: of the Question 30 0 / 1 point DNS-1 Lab: Q18.2 querying a type NS record (f). Examine again the DNS response received in reply to the query message that was sent to get a NS record. How many "answers" does this DNS response message contain? 1) 0 2) 1 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. 5) 2 6) 4 Hide question 30 feedback Not quite. This answer is incorrect. Question 31 0/1 point ** ON-14 Hide question 30 feedback Not quite. This answer is incorrect. Question 31 0/1 point DNS-1 Lab: Q18.3 querying a type NS record (g). Examine again the DNS response received in reply to the query message that was sent to get a NS record. What information is contained in the "answers" returned? 1) The names of the authoritative name servers for umass.edu. 2) The IP addresses of the authoritative name servers for umass.edu. 3) A type A DNS record containing the IP address of the authoritative name server, nameserver.umass.edu. 4) The name and IP address of a root server that can be queried iterative to answer the query question. Hide question 31 feedback Not quite. This answer is incorrect. -1012 Sete De Question 6 0 / 1 point DNS-1 Lab: Q05.2 resolving gaia.cs.umass.edu (b). Locate the initial DNS query message resolving the name gaia.cs.umass.edu. Is this query message sent over UDP or TCP? 1) UDP 2) TCP Hide question 6 feedback Not quite. This answer is incorrect. Question 7 0 / 1 point DNS-1 Lab: Q06.1 resolving gaia.cs.umass.edu (c). Now locate the corresponding DNS response to the initial DNS query. What is the packet number in the trace for the DNS response message? 1) 15 2) 17 3) 22 0 / 1 point Question 9 DNS-1 Lab: Q07.1 resolving gaia.cs.umass.edu (e). What is the destination port for the initial DNS query message? 1) 53 2) 54 3) 23 4) 59742 Hide question 9 feedback Not quite. This answer is incorrect. Question 10 0 / 1 point DNS-1 Lab: Q07.2 resolving gaia.cs.umass.edu (f). What is the source port that the initial DNS query message was sent from? I Question 10 0 / 1 point DNS-1 Lab: Q07.2 resolving gaia.cs.umass.edu (f). What is the source port that the initial DNS query message was sent from? 1) 58350 2) 54 3) 23 4) 59742 Hide question 10 feedback Not quite. This answer is incorrect. Question 11 0 / 1 point DNS-1 Lab: Q08 resolving gaia.cs.umass.edu (g). To what IP address is the initial DNS query message sent? Enter the IP address in dotted decimal notation (include each dot, omit any leading zeros for any byte that 4). DANS 5 Lah Q07 5 rediving pole is omas ande bad What is the destination port for the bottel DNS every Q1 - What is the wore that they 6/1 Question 11 0 / 1 point DNS-1 Lab: Q08 resolving gaia.cs.umass.edu (g). To what IP address is the initial DNS query message sent? Enter the IP address in dotted decimal notation (include each dot, omit any leading zeros for any byte that is non-zero, and enter a O if one of the address bytes has a zero value, e.g., 10.0.216.54): Answer: Question 12 1 / 1 point DNS-1 Lab: Q09.1 resolving gaia.cs.umass.edu (h). Examine the initial DNS query message.How many "questions" does this DNS message contain? 1) 0 2) 1 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 12 feedback Nice! This answer is correct. Question 10 COM 0/1pit Greg 0 / 1 point Question 14 DNS-1 Lab: Q10.1 resolving gaia.cs.umass.edu (j). Examine the DNS response message to the initial query message. How many "questions" does this DNS response message contain? 1) 0 2) 1 3) 3 4) Can't tell from Wireshark's parsing of the DNS message header. Hide question 14 feedback Not quite. This answer is incorrect. Question 15 1 / 1 point DNS-1 Lab: Q10.2 resolving gaia.cs.umass.edu (k). Examine the DNS response message to the initial query message. How many "answers" does this DNS response message contain? 1) 0 2) 1 Question 10 DNS-1 Lab: Q11 resolving gaia.cs.umass.edu a second time. The web page for the base file http://gaia.cs.umass.edu/kurose_ross/ references the image object http://gaia.cs.umass.edu/kurose_ross/header_graphic_book_8E_2.jpg, which, like the base web page, is on gaia.cs.umass.edu. Suppose that a user enters the URL for the base page to be displayed, and suppose that the HTTP and DNS caches are empty. u 1 pomIU In the matching below, indicate the packet number in the trace that matches with the HTTP request/reply or DNS request/reply noted. What is the packet number in the trace for the initial HTTP GET request for the base file http://gaia.cs.umass.edu/kurose_ross/? What are the packet numbers in the trace of the DNS query and the DNS response messages sent/received to resolve gaia.cs.umass.edu so that this initial HTTP request can be sent to the gaia.cs.umass.edu IP address? What is the packet number in the trace for the HTTP GET request for the image object http://gaia.cs.umass.edu/kurose_ross/header_graphic_book_8E_2.jpg? What is the packet number of the DNS query message sent to resolve gaia.cs.umass.edu so that the HTTP request for http://gaia.cs.umass.edu/kurose_ross/header_graphic_book_8E_2.jpg can be sent to the IP address for gaia.cs.umass.edu? DNS query message sent to resolve gaia.cs.umass.edu so that the HTTP request for _1__ http://gaia.cs.umass.edu/kurose_ross/header_graphic_book_8E_2.jpg can be sent to the IP address for gaia.cs.umass.edu DNS query message sent to resolve 1 1 3 DNS query message sent to resolve gaia.cs.umass.edu so that the HTTP request for DNS query message sent to resolve gaia.cs.umass.edu so that the HTTP request for 2 base file http://gaia.cs.umass.edu/kurose_ross/ can be sent to the IP address for gaia.cs.umass.edu -4 http://gaia.cs.umass.edu/kurose_ross/header_graphic_book_8E_2.jpg can be sent to the IP address for gaia.cs.umass.edu HTTP request for base file http://gaia.cs.umass.edu/kurose_ross/ HTTP request for image object http://gaia.cs.umass.edu/kurose_ross/header_graphic_book_8E_2.jpg DNS response message received to resolve gaia.cs.umass.edu so that the HTTP request for 5 base file http://gaia.cs.umass.edu/kurose_ross/ can be sent to the IP address for gaia.cs.umass.edu 1.22 2.15 3. 17 4. 205 5. This message is never sent, since the answer to the query is already in the cache. Question 17 1 / 1 point DNS-1 Lab: Q12.1 resolving www.cs.umass.edu via nslookup (a). To answer questions 12-15, download the zip file http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces-8.1.zip and extract the trace file dns- wireshark-trace2-1. This trace file contains packets sent and received in involved in performing the nslookup described in the DNS Wireshark Lab v8.1 writeup. ww. ng m .. the the HTTP GET Question 18 0 / 1 point DNS-1 Lab: Q12.2 resolving www.cs.umass.edu via nslookup (b). What is the source port that the initial DNS query message was sent from? 1) 57837 2) 54 3) 23 4) 59742 Hide question 18 feedback Not quite. This answer is incorrect. Question 19 0/1 point DNS-1 Lab: Q13.1 resolving www.cs.umass.edu via nslookup (c). To what IP address is the initial DNS query message sent? Enter the IP address in dotted decimal notation (include each dot, omit any leading zeros for any byte that is non-zero, and enter a O if one of the address bytes has a zero value, e.g., 10.0.216.54): Answer: D www www. in w I
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started