0% found this document useful (0 votes)
27 views

assignment

Uploaded by

jhalak.sapkota23
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

assignment

Uploaded by

jhalak.sapkota23
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 12

Systems and Network Administration CT106-3-2 Page 1 of 12

Individual Project: 30% of the total mark for the class

Integrate DNS, DHCP, email, web, and SSL to create a Individual Component
working system (A4, PLO6) (30%)

*Group Assignment is 30%


*Final Exam is 40% of the total mark for the class

Title: Network Administration Projects


Criteria for assessment:
1. The network and its services work as intended
2. The report documents the system and indicates a correct understanding of how
the network components fit into the whole.

Note that all screenshots must include the student ID number e.g., the hostname, email
address, or logfile entries. Anonymous screenshots and heavy reliance on screenshot
fragments that do not show personalization provide insufficient evidence, and the
maximum mark for the configuration is 4/10.

Due dates: Week 8: Individual Component – Document Format

All parts of the assignment must be done with the current Linux distro configuration. By
following the examples provided for 1-4, students are required to set up all the services
accordingly using your VirtualBox/VMware reflecting their TP number.

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 2 of 12

Question

You are tasked with creating a working system in Rocky Linux by integrating DNS,
DHCP, email, web, and SSL using Virtual Box. Your goal is to create a functional system
that can be used by a small organization.

1. Install Virtual Box on your machine and create a virtual machine running Rocky Linux.

Set up the Virtual Machine: Install a virtual machine software like


VirtualBox or VMware and create a new virtual machine with the Rocky
Linux operating system

Update the Operating System: Once the virtual machine is set up,
update the operating system to ensure you have the latest software
packages.

Obstacles encountered, obstacles overcome

Any Outstanding/Unresolved Issues

2. Install and configure a DNS server using BIND on the virtual machine. Ensure that the
DNS server can resolve local and external domain names.

Install BIND: Install the BIND (Berkeley Internet Name Domain)


package, which is the most widely used DNS software. On Rocky, use
the following command:

Configure BIND: After the installation, you need to configure BIND


with your DNS settings. The main configuration file is typically located
at /etc/bind/named.conf.options . Open this file using a text editor:

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 3 of 12

Configure Forwarders: In the named.conf.options/named.conf file,


locate the "forwarders" section and add the IP addresses of your
preferred DNS servers. These servers will be used for resolving
external domain names. For example:

Configure Listening Interfaces: In the same file, find the "listen-on"


directive and specify the IP addresses or interfaces on which the DNS
server should listen for DNS queries. By default, it listens on all
interfaces. For example, to listen only on the localhost interface, use:

Allow Recursion: To enable recursive queries for local clients, ensure


the "allow-recursion" directive is set. By default, BIND allows recursion
for local clients. Verify that the following line is present

IMPORTANT NOTE: You can choose any of the below options for
the DNS ZONE configuration
 Option one: Forward and Reverse Lookup zone
 Option two: Local Zones

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 4 of 12

The following are Steps for Option two: Configure Local Zones:
Now, you can configure local zones to resolve local domain names. Add
zone declarations to the named.conf.local file. Open the file using a
text editor:

Add Local Zone: Inside the named.conf.local file, you can add a zone
declaration for your local domain. For example, to configure a zone for
example.local , add the following:

Create Zone File: Create the zone file for your local domain by
creating a new file, such as db.example.local , in the /etc/bind/
directory:

Configure Zone File: In the zone file, specify the DNS records for
your local domain. Here's an example for the db.example.local zone
file:

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 5 of 12

Obstacles encountered, obstacles overcome

Any Outstanding/Unresolved Issues

3. Install and configure a DHCP server using DHCPd on the virtual machine. Configure
the DHCP server to assign IP addresses to clients on the local network.

Install DHCP Server: Install the DHCP server package.

Configure the DHCP Server: After the installation, you need to


configure the DHCP server with your network settings. The main
configuration file is typically located at /etc/dhcp/dhcpd.conf . Open this
file using a text editor:

Configure Network Settings: In the dhcpd.conf file, locate the


"subnet" section and define the network parameters for your local

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 6 of 12

network. Modify the example configuration below with your network


details:

 subnet: Specifies the subnet IP address and netmask of your


local network.
 range: Defines the range of IP addresses to be assigned to
clients.
 option routers : Sets the default gateway (router) IP address.
 option domain-name-servers : Specifies the DNS server IP
address.

Specify Network Interface: In the same dhcpd.conf file, find the


"INTERFACES" line and specify the network interface that the DHCP
server should listen on. Uncomment the line and replace eth0 with the
appropriate network interface name:

Save and Exit: Save the dhcpd.conf file and exit the text editor.

Configure Network Interface: Open the network interfaces


configuration file using a text editor and make the necessary changes.

Specify DHCP Server: In the network configuration file, add relevant


network configuration settings.

Apply Network Configuration: Save the network configuration file


and apply the changes.

Start DHCP Server: Start the DHCP server service.

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 7 of 12

Enable DHCP Server: To ensure that the DHCP server starts


automatically on system boot.

Verify DHCP Server: You can check the status of the DHCP server.

The DHCP server should now be installed and configured on your


virtual machine to assign IP addresses to clients on the local network.
Ensure that the virtual machine's network interface is connected to the
appropriate local network for DHCP assignment to work correctly.

Obstacles encountered, obstacles overcome

Any Outstanding/Unresolved Issues

4. Install and configure an email server using Postfix and Dovecot on the virtual
machine. Configure the email server to allow local users to send and receive emails.

Install Postfix: Install the Postfix mail transfer agent package by


running the following command:

During the installation, you'll be prompted to select a general type of


mail configuration. Choose "Internet Site" and press Enter. Provide
your server's domain name when prompted.

Step 3: Configure Postfix After the installation, we need to configure


Postfix. Open the main configuration file with a text editor:

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 8 of 12

Make the following changes to the configuration file:

 Find the line myhostname = and enter your server's hostname or


domain name.
 Find the line mydestination = and ensure that your domain name
is included.
 Uncomment the line #home_mailbox = Maildir/ by removing the
'#' at the beginning.
 Add the following lines at the end of the file:

Save the file and exit the text editor.

Install Dovecot……..

Students may follow this steps.

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 9 of 12

Obstacles encountered, obstacles overcome

Any Outstanding/Unresolved Issues

5. Install and configure a web server using Apache on the virtual machine. Configure the
web server to host a basic website that can be accessed by clients on the local network.

Students may follow this steps.

Obstacles encountered, obstacles overcome

Any Outstanding/Unresolved Issues

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 10 of 12

6. Implement SSL/TLS encryption for email and web services on the virtual machine.
Generate and install SSL certificates for the email and web servers.

Students may follow this steps.

Obstacles encountered, obstacles overcome

Any Outstanding/Unresolved Issues

7. Test the system to ensure that all services are working correctly on the virtual
machine. Verify that clients can access the website, send and receive email.

Obstacles encountered, obstacles overcome

Any Outstanding/Unresolved Issues

8. Document the system configuration with screenshot reflecting your TP number


example as below:

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 11 of 12

Obstacles encountered, obstacles overcome

Any Outstanding/Unresolved Issues

Marking Rubrics

No Task Mark Comment


1 Install Virtual Box on your 10 E.g Installation completed fully, partially
machine and create a virtual or fail. Supported with explanation.
machine running Linux Troubleshoot obstacles encountered.
Rocky and Ubuntu Provided Extra effort.
2 10 Install and configure a DNS server using
Install and configure a DNS BIND on the virtual machine completed
server using BIND on the fully, partially or fail. Supported with
virtual machine explanation. Troubleshoot obstacles
encountered. Provided Extra effort.
3 10 DHCP installation completed fully,
Install and configure a partially or fail. Supported with
DHCP server explanation. Troubleshoot obstacles
encountered. Provided Extra effort.
4 10 Email server installation completed fully,
Install and configure an
partially or fail. Supported with
email server using Postfix
explanation. Troubleshoot obstacles
and Dovecot
encountered. Provided Extra effort.
5 10 Webserver installation completed fully,
Install and configure a web
partially or fail. Supported with
server using Apache on the
explanation. Troubleshoot obstacles
virtual machine
encountered. Provided Extra effort.
6 Implement SSL/TLS 10 SSL/TLS completed fully, partially or fail.
encryption for email and Supported with explanation. Troubleshoot
web services on the virtual obstacles encountered. Provided Extra
machine effort.
7 Verify that clients can 10 TEST EMAIL RECEIVED. configuration
access the website, send completed fully, partially or fail.
and receive emails, and Supported with explanation. Troubleshoot
authenticate using obstacles encountered. Provided Extra
Thunderbird/ any other effort.

Module: SNA Asia Pacific University of Technology and Innovation 2024


Systems and Network Administration CT106-3-2 Page 12 of 12

open-source email system.


8 Document the system 10 Document the system configuration with
configuration with screenshot reflecting your TP number
screenshot reflecting your
TP number & referencing
9 10 TEST EMAIL RECEIVED. configuration
completed fully, partially or fail.
Troubleshooting Skill Supported with explanation. Troubleshoot
obstacles encountered. Provided Extra
effort.
10 10 Configure extra services.
Explore and configure Extra
configuration completed fully, partially or
services eg, ACL, LDAP,
fail. Supported with explanation.
Postfixadmin and etc.
Troubleshoot obstacles encountered.
Total 100

Module: SNA Asia Pacific University of Technology and Innovation 2024

You might also like