assignment
assignment
Integrate DNS, DHCP, email, web, and SSL to create a Individual Component
working system (A4, PLO6) (30%)
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.
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.
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.
Update the Operating System: Once the virtual machine is set up,
update the operating system to ensure you have the latest software
packages.
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.
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
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:
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.
Save and Exit: Save the dhcpd.conf file and exit the text editor.
Verify DHCP Server: You can check the status of the DHCP server.
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 Dovecot……..
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.
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.
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.
Marking Rubrics