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
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 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
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
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
What are the two most compelling arguments for utilising layered protocols? Give instances to back up your point.
arrow_forward
Remember that the TCP/IP protocol suite performs packet reordering and reassembly during the transport phase. For example, firewalls may function on the Internet or the data layer, which is a lower level of abstraction. If a traffic stream is out of order or erased, a stateful inspection firewall will not be able to determine anything about it.
arrow_forward
4. The original HTTP protocol used TCP/IP as the underlying protocol. For each
page, graphic, or applet, a separate TCP connection was constructed, used, and
terminated. This caused several problems: one referred to as the elephant and mice
problem and two aspects of connection overhead. Describe both problems. Why
were separate connections used? Would UDP rather than TCP be a good
alternative? What solution would you propose to these problems to improve HTTP
performance?
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
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
When it comes to the process of sending and receiving email over the internet, the three protocols known as SMTP, POP, and IMAP each have their own set of advantages and disadvantages. What are the most significant distinctions between these three protocols? Include specifics about the agents that are present on both the node that is supplying the information and the node that is receiving the information in your explanation.
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
What precisely is meant by the term "Routing," and how does its implementation take place?
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
When it comes to the expansion of an organization and administrative autonomy,
what is the impact of hierarchy, and how can you take use of it to your benefit?
The distinctions between intra-AS and inter-AS routing techniques are explained
in detail in this article. What is the procedure for hot potato routing?
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
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 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_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_forwardHyper 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
- What are the two most compelling arguments for utilising layered protocols? Give instances to back up your point.arrow_forwardRemember that the TCP/IP protocol suite performs packet reordering and reassembly during the transport phase. For example, firewalls may function on the Internet or the data layer, which is a lower level of abstraction. If a traffic stream is out of order or erased, a stateful inspection firewall will not be able to determine anything about it.arrow_forward4. The original HTTP protocol used TCP/IP as the underlying protocol. For each page, graphic, or applet, a separate TCP connection was constructed, used, and terminated. This caused several problems: one referred to as the elephant and mice problem and two aspects of connection overhead. Describe both problems. Why were separate connections used? Would UDP rather than TCP be a good alternative? What solution would you propose to these problems to improve HTTP performance?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_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_forwardWhen it comes to the process of sending and receiving email over the internet, the three protocols known as SMTP, POP, and IMAP each have their own set of advantages and disadvantages. What are the most significant distinctions between these three protocols? Include specifics about the agents that are present on both the node that is supplying the information and the node that is receiving the information in your explanation.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_forwardWhat precisely is meant by the term "Routing," and how does its implementation take place?arrow_forwardOne 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
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