0% found this document useful (0 votes)
5 views2 pages

DNS UDP TCP Lab PacketTracer

The lab involves configuring a local DNS server and analyzing UDP and TCP protocols in DNS communication using Cisco Packet Tracer. It includes setting up a network topology with specified devices, configuring IPv4 addresses, and testing DNS resolution. The lab concludes with a comparison of UDP's speed and efficiency against TCP's reliability in DNS operations.

Uploaded by

ajaysorout144
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

DNS UDP TCP Lab PacketTracer

The lab involves configuring a local DNS server and analyzing UDP and TCP protocols in DNS communication using Cisco Packet Tracer. It includes setting up a network topology with specified devices, configuring IPv4 addresses, and testing DNS resolution. The lab concludes with a comparison of UDP's speed and efficiency against TCP's reliability in DNS operations.

Uploaded by

ajaysorout144
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Cisco Packet Tracer Lab: DNS Configuration and UDP vs TCP Analysis

This lab focuses on configuring a local DNS server, performing name resolution, and
analyzing the behavior of UDP and TCP protocols used in DNS communication using Cisco
Packet Tracer.

Requirements & Tools


- Cisco Packet Tracer
- Devices: 1 Router, 1 Switch, 2 PCs, 1 Server
- Simulation Mode enabled for DNS and protocol analysis

Step 1: Create the Network Topology


1. Place the devices: Router, Switch, 2 PCs, and 1 Server
2. Connect all devices via the switch using copper straight-through cables

Step 2: Configure IPv4 Addresses


Router (Gig0/0):
IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0

PC0:
IP: 192.168.1.10
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1
DNS: 192.168.1.2

PC1:
IP: 192.168.1.20
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1
DNS: 192.168.1.2

Server:
IP: 192.168.1.2
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1

Step 3: Configure the DNS Server


1. Click on the Server and go to the Services tab
2. Select DNS and turn it ON
3. Add an entry:
- Name: www.labtest.com
- Address: 192.168.1.100
Step 4: Test DNS Resolution
On PC0:
1. Open the command prompt
2. Use the ping command:
ping www.labtest.com

Step 5: Analyze DNS using Simulation Mode


1. Switch to Simulation Mode
2. Add Filters: DNS, UDP, TCP, ICMP
3. Initiate DNS query by pinging domain from PC0
4. Observe DNS request and response packets
5. Click on packets for detailed Wireshark-style protocol analysis

Step 6: Compare UDP and TCP in DNS


- DNS typically uses UDP (port 53) for fast queries
- TCP is used when the DNS response exceeds 512 bytes or for zone transfers
- UDP is faster, connectionless, and low overhead
- TCP is reliable, ensures packet delivery but with higher overhead

Summary
- DNS server configured successfully
- Domain name resolution tested from client
- DNS packet analysis completed in Simulation Mode
- Comparison of UDP and TCP protocols in DNS observed

You might also like