logo

Assignment On Two Virtual Machine

27 Pages1850 Words17 Views
   

Added on  2022-10-01

Assignment On Two Virtual Machine

   Added on 2022-10-01

ShareRelated Documents
linux 1
LINUX
My Name
Course Title
Professor name
Date
Assignment On Two Virtual Machine_1
linux 2
Introduction
In this assignment, the two virtual machines used are from the ubuntu server 2018 and the
centOS7 platforms which were used to answer the different parts of the questions. The following
are the step by step procedures to finish different tasks;
Part 1: DNS and SSH server
To configure configure a fully functional DNS server in ubuntu, we used the bind module (PR
Newswire, 2014)
Steps 1: Configure static IP
The ubuntu server is configured with a static IP of 192.168.122.100 with the gateway being
192.168.122.1 this shall allow a more stable configurations since the IP won't change with time.
In ubuntu server 2018, the IP configuration is done under the /etc/netpan and configure the .yaml
file as shown below (Hintsch, Kramer, & Turowski, 2018)
Assignment On Two Virtual Machine_2
linux 3
To apply the changes, we used the sudo netplan apply command to apply the changes.
To verify the changes have been made, we used the command ip address show dev ens3
(Hoffman, 2010)command
The output shows a well configured static IP with an IP address of 192.168.122.100/24
Step 2: Install Bind DNS server module
To get the bind services, we first run a package update and install the bind9 services and its
related libraries as shown below
Update packages
Assignment On Two Virtual Machine_3
linux 4
Install bind9
Setting bind to ipv4 mode
Since our server is set to use ipv4 statically, we need to configure the bind service to exclusively
use ipv4 mode (Kerner, 2019) . This is as shown below;
Assignment On Two Virtual Machine_4
linux 5
Step 3: Configuration of primary Domain Name Server
Bind configuration are mainly kept in the domain name daemon file which shall be used mostly
to configure the domain name servers
Set the access control list
We edit the named.conf.options file and added the following trusted name servers and hosts.
This will be updated as more server and host get connected to the network (Khan & Khan, 2017).
Set the bind options
Now, lets configure the various bind options to allow the clients gets queries from the named
service.
Assignment On Two Virtual Machine_5
linux 6
Configuration of the local files
In order to specify our forwarding and reverse zones, we need to edit the named.conf.local file as
shown below
Creating the forwarding zones
Forwarding zones are key DNS records which does DNS forward lookup. It is where the domain
name get resolved to the IP address by looking it up in the forwarding zone.
First, we create a directory called zones in bind directory where we shall define the zones
(Mihalos, Nalmpantis, & Ovaliadis, 2019)
Since the forward zone is based in the sample file db.local, we copy the file to create a template
for our forward zone as shown below
Assignment On Two Virtual Machine_6

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Linux: DNS, SSH, LAMP, FTP, and SSL Configuration
|25
|2860
|299

DNS Server Preparation | Ubuntu Linux
|16
|800
|112

In this assignment, the following configurations applies, Ubuntu
|14
|482
|50

LINUX File System
|23
|1749
|97

The Domain Name System Server
|17
|1046
|41

ITC514 - Installation of DNS Server - Assignment
|11
|1604
|198