Linux: DNS & SSH Server, Remote File Access, Making DNS Robust, Simple Web Services
Added on 2023-06-04
118 Pages1449 Words246 Views
Linux
Table of Contents
1 Part 1: Virtual Machine One – DNS & SSH Server.....................................................3
1.1 DNS Sever...................................................................................................................3
1.1.1 Configuring the Primary DNS Server.............................................................5
1.1.2 Creating the Forward Zone File.....................................................................10
1.1.3 Creating the Reverse Zone File(s)..................................................................14
1.1.4 Checking the BIND Configuration Syntax....................................................16
1.1.5 Restarting BIND...............................................................................................20
1.1.6 Configuring the Secondary DNS Server........................................................20
1.1.7 Configuring DNS Clients................................................................................24
1.1.8 Testing clients...................................................................................................30
1.2 SSH Servers..............................................................................................................34
1.2.1 Installation........................................................................................................35
1.2.2 Configuration...................................................................................................38
2 Part 2: Virtual Machine Two........................................................................................44
3 Part 3: Remote File Access............................................................................................54
3.1.1 Create an FTP User.........................................................................................59
3.1.2 Directory Permissions......................................................................................62
3.1.3 Configure vsftpd...............................................................................................63
3.1.4 Test FTP............................................................................................................69
4 Part 4: Making DNS Robust.........................................................................................69
4.1.1 Creating the Forward Zone File.....................................................................72
4.1.2 Creating the Reverse Zone File(s)..................................................................76
4.1.3 Checking the BIND Configuration Syntax....................................................78
4.1.4 Restarting BIND...............................................................................................82
4.1.5 Configuring the Secondary DNS Server........................................................82
1
1 Part 1: Virtual Machine One – DNS & SSH Server.....................................................3
1.1 DNS Sever...................................................................................................................3
1.1.1 Configuring the Primary DNS Server.............................................................5
1.1.2 Creating the Forward Zone File.....................................................................10
1.1.3 Creating the Reverse Zone File(s)..................................................................14
1.1.4 Checking the BIND Configuration Syntax....................................................16
1.1.5 Restarting BIND...............................................................................................20
1.1.6 Configuring the Secondary DNS Server........................................................20
1.1.7 Configuring DNS Clients................................................................................24
1.1.8 Testing clients...................................................................................................30
1.2 SSH Servers..............................................................................................................34
1.2.1 Installation........................................................................................................35
1.2.2 Configuration...................................................................................................38
2 Part 2: Virtual Machine Two........................................................................................44
3 Part 3: Remote File Access............................................................................................54
3.1.1 Create an FTP User.........................................................................................59
3.1.2 Directory Permissions......................................................................................62
3.1.3 Configure vsftpd...............................................................................................63
3.1.4 Test FTP............................................................................................................69
4 Part 4: Making DNS Robust.........................................................................................69
4.1.1 Creating the Forward Zone File.....................................................................72
4.1.2 Creating the Reverse Zone File(s)..................................................................76
4.1.3 Checking the BIND Configuration Syntax....................................................78
4.1.4 Restarting BIND...............................................................................................82
4.1.5 Configuring the Secondary DNS Server........................................................82
1
5 Part 5: Simple Web Services.........................................................................................86
5.1.1 Configuring the Primary DNS Server...........................................................89
5.1.2 Creating the Forward Zone File.....................................................................94
5.1.3 Creating the Reverse Zone File(s)..................................................................98
5.1.4 Checking the BIND Configuration Syntax..................................................100
5.1.5 Configuring the Secondary DNS Server......................................................104
5.1.6 Configuring DNS Clients..............................................................................108
5.1.7 Creating SSL certificate................................................................................114
References.............................................................................................................................116
2
5.1.1 Configuring the Primary DNS Server...........................................................89
5.1.2 Creating the Forward Zone File.....................................................................94
5.1.3 Creating the Reverse Zone File(s)..................................................................98
5.1.4 Checking the BIND Configuration Syntax..................................................100
5.1.5 Configuring the Secondary DNS Server......................................................104
5.1.6 Configuring DNS Clients..............................................................................108
5.1.7 Creating SSL certificate................................................................................114
References.............................................................................................................................116
2
1 Part 1: Virtual Machine One – DNS & SSH Server
1.1 DNS Sever
To install DNS and SSH server on Ubuntu VM by follows the below steps.
First, user needs to update the system. It is shown below ("How To Configure BIND as a
Private Network DNS Server on Ubuntu 18.04 | DigitalOcean", 2018).
After, install the Bind. To install the bind by follows the below steps.
3
1.1 DNS Sever
To install DNS and SSH server on Ubuntu VM by follows the below steps.
First, user needs to update the system. It is shown below ("How To Configure BIND as a
Private Network DNS Server on Ubuntu 18.04 | DigitalOcean", 2018).
After, install the Bind. To install the bind by follows the below steps.
3
4
Once Bind installation is finished, after restart the bind. It is shown below.
1.1.1 Configuring the Primary DNS Server
First, user needs to configure the option file by follows the below steps.
5
1.1.1 Configuring the Primary DNS Server
First, user needs to configure the option file by follows the below steps.
5
6
7
End of preview
Want to access all the pages? Upload your documents or become a member.
Related Documents
Linux Server Administration: DNS & SSH Server, FTP User, DNS Robust, Web Serviceslg...
|118
|1199
|380
Linux Server Administrationlg...
|123
|727
|100
Server Administration and Maintenancelg...
|106
|1031
|145
In this assignment, the following configurations applies, Ubuntulg...
|14
|482
|50
Linux: DNS, SSH, LAMP, FTP, and SSL Configurationlg...
|25
|2860
|299
Linux Server Administration: DNS, SSH, LAMP, FTP, SSLlg...
|27
|2455
|167