Christian
.docx
keyboard_arrow_up
School
St. Edward's University *
*We aren’t endorsed by this school
Course
3344
Subject
Computer Science
Date
Apr 3, 2024
Type
docx
Pages
11
Uploaded by DrHeat6970 on coursehero.com
As described in Section 2.4 of the text
1
, 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 the DNS clients, 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. 1. nslookup In this lab, we’ll make extensive use of the nslookup
tool, which is available in most Linux/Unix and Microsoft platforms today. To run nslookup
in Linux/Unix, you just type the nslookup
command on the command line. To run it in Windows, open the Command Prompt and run nslookup
on the command line. In it is most basic operation, nslookup
tool allows the host running the tool to query any specified DNS server for a DNS record. The queried DNS server can be a root DNS server, a top-level-domain DNS server, an authoritative DNS server, or an intermediate DNS server (see the textbook for definitions of these terms). To accomplish this task, nslookup
sends a DNS query to the specified DNS server, receives a DNS reply from that same DNS server, and displays the result. 1 References to figures and sections are for the 8
th
edition of our text, Computer Networks, A Top-down Approach, 8
th
ed., J.F. Kurose and K.W. Ross, Addison-Wesley/Pearson, 2020.
Wireshark Lab: DNS v8.0
Supplement to Computer Networking: A Top -Down Approach, 8
th
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-2020, J.F Kurose and K.W. Ross, Al
l Rights Reserved
The above screenshot shows the results of three independent nslookup
commands (displayed in the Windows Command Prompt). In this example, the client host is located on the campus of Polytechnic University in Brooklyn, where the default local DNS server
is dns-prime.poly.edu. When running nslookup
, if no DNS server is specified, then nslookup
sends the query to the default DNS server, which in this case is dnsprime.poly.edu. Consider the first command: nslookup www.mit.edu In words, this command is saying “please send me the IP address for the host www.mit.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; and (2) the answer itself, which is the host name and IP address of www.mit.edu. Although the response came from the local DNS server at Polytechnic University, 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. Now consider the second command: nslookup –type=NS mit.edu
In this example, we have provided the option “-type=NS” and the domain “mit.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 mit.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 DNS server) along with three MIT nameservers. Each of these servers is indeed an authoritative DNS server for the hosts on the MIT 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 MIT DNS server. Finally, the answer also includes the IP addresses of the authoritative DNS servers at MIT. (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.) Now finally consider the third command: nslookup www.aiit.or.kr bitsy.mit.edu In this example, we indicate that we want to the query sent to the DNS server bitsy.mit.edu rather than to the default DNS server (dns-prime.poly.edu). Thus, the query and reply transaction takes place directly between our querying host and bitsy.mit.edu. In this example, the DNS server bitsy.mit.edu provides the IP address of the host www.aiit.or.kr, which is a web server at the Advanced Institute of Information Technology (in Korea). Now that we have gone through a few illustrative examples, you are perhaps wondering about the general syntax of nslookup
commands. The syntax is: nslookup –option1 –option2 host-to-find dns-server In general, nslookup
can be run with zero, one, two or more options. And as we have seen
in the above examples, the dns-server is optional as well; if it is not supplied, the query is sent to the default local DNS server. Now that we have provided an overview of nslookup
, it is time for you to test drive it yourself. Do the following (and write down the results): 1.
Run nslookup
to obtain the IP address of a Web server in Asia. What is the IP address of that server? nslookup tver.jp
Server:
10.20.128.100
Address:
10.20.128.100#53
2.
Run nslookup
to determine the authoritative DNS servers for a university in Europe. I performed nslookup for a European University in Ioannina Greece. Its IP address is 128.238.29.22
3.
Run nslookup
so that one of the DNS servers obtained in Question 2 is queried for
the mail servers for Yahoo! mail. What is its IP address? 4.
the IP address of the mail server(s) is 18.72.0.3.
2. ipconfig ipconfig
(for Windows) and ifconfig
(for Linux/Unix) are among the most useful little utilities in your host, especially for debugging network issues. Here we’ll only describe ipconfig
, although the Linux/Unix ifconfig
is very similar. ipconfig
can be used to show your current TCP/IP information, including your address, DNS server addresses, adapter type and so on. For example, if you all this information about your host simply by entering ipconfig \all into the Command Prompt, as shown in the following screenshot.
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
Related Questions
When a web client attempts to get access to protected resources hosted by a web server, it is important to demonstrate the step-by-step implementation of native authentication and authorization services. What are the two most persuasive arguments in favor of layered protocols and why should they be used? You need to provide specific examples to back up your point.
arrow_forward
Draw a sequence diagram for air ticket reservation which have 6 different classifiers such as User, Mobile Device, WAP Gateway, WebServer, Apache and Database Server. User sends the message Requestflightinfo ( ) to Mobile device and get back reply as Displayflightinfo ( ). Mobile device sends the message of connectthroughWAP( ) to WAP Gateway and receives the message as Sendthroughchannel( ).WAP Gateway sends message Authenticate( ) to Webserver and gets reply as Responseinfo( ). Apache will get the message to ActivateApache( ) from webserver and receives
WMLcontent ( ).Apache will send ExecuteQuery( ) message to Database Server and receives Retrieveinfo( ).
arrow_forward
Iterative and non-iterative DNS queries, authoritative and root servers, and DNS entries are all covered here. This extensive overview covers the Domain Name System (DNS) from iterative to non-iterative queries to authoritative and root servers and DNS entries.
arrow_forward
Hyper Text Transmission Protocol (HTTP) is a simple protocol that can be implemented with small footprint which can be used in different types of content transfer and other types of services.
Given an example of an HTTP Uniform Resource Locator (URL).
List the THREE (3) main components of an HTTP URL, stating how their boundaries are denoted and illustrating each one from your example.
To what extent is a URL location transparent?
arrow_forward
When a web client requests access to protected resources on a web server, demonstrate the step-by-step implementation of native authentication and authorization services. What are the two most persuasive arguments in favor of using layered protocol architectures? Give specific examples to back up your claim.
arrow_forward
What are the two most compelling arguments for utilising layered protocols? Give instances to back up your point.
arrow_forward
When a web client wants to access protected resources on a web server, show how native authentication and authorization services are used step by step, from start to finish. A layered protocol is better than one that doesn't have layers at all. You should give examples to back up your claim.
arrow_forward
Consider an HTTP client who wants to retrieve a Web document from a given URL. The IP address of the HTTP
server (hosting the URL) is initially unknown. What transport and application layer protocols other than HTTP are
needed in this scenario? Please consider who has to be contacted for the IP address and the methods used to do
this. Also consider how the connection is established with the web server?
arrow_forward
In the Internet of Things (IoT) web stack, what function do the protocols UDP and IPV6 serve? What exactly is the difference between a sensor having a static IP address and one that has a dynamically assigned IP address?
arrow_forward
Create an example, that can be an analogy to the layered TCP/IP structure.
Explain layer by layer what responsibilities each layer has. The analogy to airline travel
has already been examined. You can draw a simple figure if you think it's helpful.
2.
arrow_forward
Describe how the stop-and-wait protocol operates and what it does. What are the most significant issues and limits associated with this protocol? In this instance, you must derive an expression for the link utilization.
arrow_forward
Computer Science
How does a host communicate with another host using standard TCP/IP communication stack in traditional networks? Explain the process using a flow diagram. Also, explain the data encapsulation process at every stage of the TCP/IP protocol stack.
arrow_forward
In class you have been introduced to how network designers organize protocols through layers.
Subsequently, you were also introduced to the Internet protocol stack, which consists of five layers:
the physical, link, network, transport, and application layers, as a typical example of this layered
design. Additionally, it was also brought to your attention that the Internet protocol is not the only
protocol stack available. A seven layered protocol stack called the Open Systems
Interconnection (OSI) model is also available. In this assignment, you're required to identify the
missing and/or merged layers between the two models and discuss their functionalities.
arrow_forward
Considering each of the TCP/IP protocol stack layers and rank them in the order you feel they are most important. Can one or more of these layers be combined or separated? Would your ordering be affected based upon what type of data is being transmitted, why or why not? Defend why your choice of ordering is the way you have stated. Use the following scale: 1=most important and 5= least important.
arrow_forward
Sort the TCP/IP protocol stack layers by importance. Can layers be mixed or separated? If so, why? You ordered that way—why? Helpful scale: 1 is the most crucial aspect, while 5 is the least.
arrow_forward
What precisely is meant by the term "Routing," and how does its implementation take place?
arrow_forward
Consider Figure 2.12, for which there is an institutional network connected to the Internet. Suppose that the average object size is 1,000,000 bits and that the average request rate from the institution’s browsers to the origin servers is 16 requests per second. Also suppose that the amount of time it takes from when the router on the Internet side of the access link forwards an HTTP request until it receives the response is three seconds on average (see Section 2.2.5). Model the total average response time as the sum of the average access delay (that is, the delay from Internet router to institution router) and the average Internet delay. For the average access delay, use ∆/(1 - ∆b), where ∆ is the average time required to send an object over the access link and b is the arrival rate of objects to the access link.
Find the total average response time.
I get ∆=1000000/15000000= 1/15, then
∆/(1 - ∆b)= (1/15)/(1-(1/15)*16)=-1, so the finally answer is :
3+(-1)=2s or 3+0=3s?
arrow_forward
One approach that might be used in a mobile network architecture that would allow a datagram sent by the correspondent to reach a destination mobile device is to allow mobile users to maintain their IP addresses as they moved among foreign networks. The foreign network would advertise a highly specific route to the mobile user and use the existing routing infrastructure to propagate this information throughout the network. Scalability is a concern in this approach.
Suppose as the mobile user moves from one network to another, the old foreign network withdraws its route as the new foreign network advertises the specific route to the mobile user. Take into consideration how routing information propagates in a distance-vector algorithm or inter-AS routing protocols like BGP. Also think about interdomain routing among networks that span the globe.
Are datagrams routed immediately to the new foreign network as soon as the foreign network begins advertising its route?
Would a situation…
arrow_forward
Consider a 2G - GSM mobile phone which has been turned off for a while. The user turns it on and tries to make a phone call to another mobile
phone in the same mobile operator's network which is also a 2G network. Write down ALL messaging between various components of the GSM
architecture and the mobile phone being turned on until the call is established (so do not consider the other side of the phone call) in a timeline
with appropriate messaging and names of the channels being used. When making a phone call assume that the user fails in the first 2 random-
access trials and succeeds on the 3rd random-access trial.
arrow_forward
Consider an employee using their computer to send and retrieve email at their workplace. Only Ethernet networks are used for physical connectivity, but the mail server is located on a separate network. The employee’s network and the mail server’s network are connected by a single router which also has a connection to the Internet via the workplace’s ISP.
Explain how the employees email client sends and receives emails using the email server, indicating any protocols involved and where any encapsulation/decapsulation occurs as data travels between the client, local mail server, and remote mail servers.
arrow_forward
Explain what happens behind-the-scenes when a web client accesses a secure server resource, and how authentication and authorisation are handled by the web server itself. For this reason, you find the employment of layered protocols to be quite alluring. To back up your assertions, please provide examples.
arrow_forward
What are the two most compelling arguments in favor of utilizing layered protocols? Give specific instances to demonstrate your point.
arrow_forward
Defend the use of the UDP protocol over the TCP protocol and provide an example of why it would be advantageous for an application developer to do so. Do you think it's even possible for an application to have dependable data transport while using UDP? If that's the case, how specifically would you say that?
arrow_forward
Which two of the many convincing reasons in favor of layered protocols come to mind first? You need to provide specific examples to back up your claim.
arrow_forward
In this all-encompassing overview, the operation of the Domain Name System (DNS) is broken down into its component parts, from DNS record requests through authoritative and root server explanations.
arrow_forward
Please explain the main differences between POP, SMTP, and IMAP as they relate to email sent and received over the internet. It would be helpful to include an explanation of the roles of the node agents in both the sender and the receiver.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Related Questions
- When a web client attempts to get access to protected resources hosted by a web server, it is important to demonstrate the step-by-step implementation of native authentication and authorization services. What are the two most persuasive arguments in favor of layered protocols and why should they be used? You need to provide specific examples to back up your point.arrow_forwardDraw a sequence diagram for air ticket reservation which have 6 different classifiers such as User, Mobile Device, WAP Gateway, WebServer, Apache and Database Server. User sends the message Requestflightinfo ( ) to Mobile device and get back reply as Displayflightinfo ( ). Mobile device sends the message of connectthroughWAP( ) to WAP Gateway and receives the message as Sendthroughchannel( ).WAP Gateway sends message Authenticate( ) to Webserver and gets reply as Responseinfo( ). Apache will get the message to ActivateApache( ) from webserver and receives WMLcontent ( ).Apache will send ExecuteQuery( ) message to Database Server and receives Retrieveinfo( ).arrow_forwardIterative and non-iterative DNS queries, authoritative and root servers, and DNS entries are all covered here. This extensive overview covers the Domain Name System (DNS) from iterative to non-iterative queries to authoritative and root servers and DNS entries.arrow_forward
- Hyper Text Transmission Protocol (HTTP) is a simple protocol that can be implemented with small footprint which can be used in different types of content transfer and other types of services. Given an example of an HTTP Uniform Resource Locator (URL). List the THREE (3) main components of an HTTP URL, stating how their boundaries are denoted and illustrating each one from your example. To what extent is a URL location transparent?arrow_forwardWhen a web client requests access to protected resources on a web server, demonstrate the step-by-step implementation of native authentication and authorization services. What are the two most persuasive arguments in favor of using layered protocol architectures? Give specific examples to back up your claim.arrow_forwardWhat are the two most compelling arguments for utilising layered protocols? Give instances to back up your point.arrow_forward
- When a web client wants to access protected resources on a web server, show how native authentication and authorization services are used step by step, from start to finish. A layered protocol is better than one that doesn't have layers at all. You should give examples to back up your claim.arrow_forwardConsider an HTTP client who wants to retrieve a Web document from a given URL. The IP address of the HTTP server (hosting the URL) is initially unknown. What transport and application layer protocols other than HTTP are needed in this scenario? Please consider who has to be contacted for the IP address and the methods used to do this. Also consider how the connection is established with the web server?arrow_forwardIn the Internet of Things (IoT) web stack, what function do the protocols UDP and IPV6 serve? What exactly is the difference between a sensor having a static IP address and one that has a dynamically assigned IP address?arrow_forward
- Create an example, that can be an analogy to the layered TCP/IP structure. Explain layer by layer what responsibilities each layer has. The analogy to airline travel has already been examined. You can draw a simple figure if you think it's helpful. 2.arrow_forwardDescribe how the stop-and-wait protocol operates and what it does. What are the most significant issues and limits associated with this protocol? In this instance, you must derive an expression for the link utilization.arrow_forwardComputer Science How does a host communicate with another host using standard TCP/IP communication stack in traditional networks? Explain the process using a flow diagram. Also, explain the data encapsulation process at every stage of the TCP/IP protocol stack.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education