computer network
computer network
Experiment 9
Student Name: Tribhuvan Singh UID: 23ICS80003
Branch: CSE Section/Group: 611 - A
Semester: 5th Date of Performance:14/10/24
Subject Name: Computer Networks Subject Code: 22CSH-312
1. Aim: Configuring DNS Server and accessing web Resources by Domain Name.
2. Objective: To configure a DNS (Domain Name System) server and access web
resources using domain names instead of IP addresses. This process involves setting
up a DNS server, creating DNS records, and testing the resolution of domain names to
access web resources efficiently.
3. Requirements:
Hardware:
A computer or server for hosting the DNS server.
Client machines to test DNS resolution.
Software:
Linux (e.g., Ubuntu, CentOS) or Windows Server.
DNS server software (e.g., BIND for Linux or Microsoft DNS for Windows Server).
Text editor (e.g., nano, vim for Linux or Notepad for Windows).
Network tools (e.g., nslookup, dig, ping).
Network Configuration:
Access to configure IP addresses
Basic knowledge of IP addressing and subnetting.
IP addresses for your DNS server and the web resources to be accessed.
4. Procedure:
Physical Connection:
Connect each computer to the network switch using Ethernet cables.
Ensure the network switch is powered on and operational.
Check Connectivity:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Verify physical connections and power status.
Ensure that each computer is properly connected to the network.
Configuring IP Addresses
Go to Control Panel → Network and Sharing Center → Change adapter settings.
Right-click on your network connection and select Properties.
Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
Choose Use the following IP address and enter:
IP address: e.g., 192.168.1.2 for the first computer, 192.168.1.3 for the second
computer.
Subnet mask: 255.255.255.0
Default gateway: Leave blank or enter the gateway IP if needed.
Click OK to apply settings.
5. Output:
6. Learning Outcome
Understand how to configure a DNS server to resolve domain names to IP addresses.
Be able to set up DNS zone files and records (A, CNAME, NS).
Test domain name resolution using tools like nslookup and dig.
Access web resources using domain names, improving user-friendly access to network
resources.
Gain insight into troubleshooting DNS-related issues and ensuring efficient name resolution.