DCN Lab 14
DCN Lab 14
&
NETWORKING
LAB JOURNAL# 14
BAHRIA UNIVERSITY
ISLAMABAD CAMPUS
DCN
Lab#14
Learning packet motion through DNS server in a network
using packet tracer
Introduction:
The Domain Name System (DNS) is a hierarchical naming system for computers, services, or
any resource participating in the Internet. It associates various information with domain
names assigned to such participants. Most importantly, it translates domain names
meaningful to humans into the numerical (binary) identifiers associated with networking
equipment for the purpose of locating and addressing these devices world-wide. An often
used analogy to explain the Domain Name System is that it serves as the "phone book" for
the Internet by translating humanfriendly computer hostnames into IP addresses. For
example, www.example.com translates to 208.77.188.166.
Objectives
• Observe the conversion of a URL to an IP address.
• Observe DNS lookup using the nslookup command.
LAB TASKS
Step 1: Observe DNS conversion
a. Click the Start button, select Run, type cmd, and then click OK. The command prompt
window appears.
b. At the command prompt, type ping www.cisco.com. The computer needs to translate
www.cisco.com into an IP address so it knows where to send the Internet Control Message
Protocol (ICMP) packets. Ping is atype of ICMP packet.
c. The first line of the output shows www.cisco.com converted to an IP address by DNS. You
should be able to see the effect of DNS even if your school has a firewall that prevents
pinging, or if Cisco has prevented people from pinging their web server.
d. Which IP address is shown on the screen?
23.9.25.159.
e. Is it the same as the one shown in the figure?
No, it is not as was shown in the manual image.
Yes it is same.
i. At the prompt, type the IP address of the Cisco web server that you just found.
You can use NSLOOKUP to get the domain name of an IP address if you do not
know the URL. Using the previous procedures, find an IP address associated with
www.google.com.
When I wrote nslookup www.google.com at cmd this is what I got:
b. At the prompt, type www.cisco.com. c. What is the primary name server, the
responsible mail address, and the default Time to Live (TTL)?
e. At the prompt, type ipconfig /all. f. Write the IP addresses of all the DNS servers that
your school uses
g. Type exit to close the command prompt window.
Step 4: Reflection
a. If your school did not have a DNS server, what effect would this have on your use of the
Internet?
we would not be able to browse the web or use any network application that relies on name
to IP address translation.
b. Some companies do not dedicate a single server for DNS. Instead, the DNS server
provides other functions as well. Which functions do you think might be included on a DNS
server? Use the ipconfig/all command to help you with this
What I think that these functions should be included on a DNS server: Email, printer, and file-share name translations.
Active Directory domain controller function.
Conclusion:
In this lab we learned about packet motion through DNS server and performed the given tasks successfully.