Detailed Configuration of a DNS Server Using Ubuntu Linux (ITC514)

Verified

Added on  2020/03/01

|15
|1930
|182
Homework Assignment
AI Summary
This assignment details the process of setting up and configuring a DNS server using Ubuntu Linux. It begins with the installation of Ubuntu Server 16 on a virtual machine, followed by the installation of BIND and DNS utilities. The assignment covers basic DNS server configuration, including setting up forward and reverse lookup zones, and creating necessary DNS records. It also includes the creation of a user 'assgn2' and setting file permissions. The student documents the commands used, troubleshooting steps, and references relevant resources. The assignment demonstrates practical skills in Linux administration and network configuration, including the use of commands like `apt-get`, `nslookup`, `chmod`, and `useradd`. The student faced challenges during the setup, which are also documented.
Document Page
PART-2 : 1
There are various Linux versions, which can serve the purpose of DNS server. Today, the world
popularly consider Ubuntu Linux, as a best option to help the web based applications. It is the
fact that, the web based applications require DNS server, as a crucial part. The DNS server
Ubuntu Linux 16 can be suggested as the appropriate solution. BIND is a part of Ubuntu, which
is available both internally and externally in the DNS server. It is stated that, in the small LAN
network, the DNS server could easily support more than 4000 DNS entries. On the other hand, in
WAN it can help more than 400000 entries. There are possibilities that the DNS server's entries
can be higher, if the hardware capacity of the server is high. Once the VMware work station is
installed, it creates raw virtual server which has the capacity of 4 GB RAM and approximately
100 GB of disc space. In less quantity there will virtual server simulation from the HP C7000
blade server. If the Ubuntu server 16 is already downloaded, then it will already contain the
bootable Ubuntu Server 16 DVD. It is enough to have 4.7 GB DVD, for preparing the bootable
Ubuntu Linux server’s DVD. At present, Ubuntu 14.04 LTS is the new version and it will be
supported till 2021. UEFI firmware is available in the hardware that already has installed the
VMWare virtual servers. Then download the server OS of x64 version. Further, it is necessary to
change the virtual server’s booting option so that it can boot from the CD. Once the option for
install Ubuntu is selected, the process of installing Ubuntu Server LTS 16.04 starts. It is
recommended to opt English language during installation. Ensure internet connection and
provide automatically update option. Next, the installation successfully completes, where the
virtual server is ready to use with the Ubuntu server 14.04 LTS.
Setup Ubuntu server (BarCharts and BarCharts Inc, 2008)
1
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Logged out and logged into the server again
2
Document Page
Created new user assign2
3
Document Page
Logged out and logged into the server as assign2
4
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Installed DNS Server. Studied about the DNS Server and its functioning from the RHCE books
and other university notes. Studied about the Linux commands and practiced most of them to do
the work (Chadwick, 2017) (Linux-tutorial.info, 2017) (www.javatpoint.com, 2017).
5
Document Page
6
Document Page
assign2@assign2server:~# apt-get install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
bind9 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 202 not upgraded.
assign2@assign2server:~# apt-get install dnsutil
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dnsutil
assign2@assign2server:~# apt-get install dnsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
dnsutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 202 not upgraded.
assign2@assign2server:~# apt-get install bind9-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
bind9-doc
0 upgraded, 1 newly installed, 0 to remove and 202 not upgraded.
7
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Need to get 182 kB of archives.
After this operation, 1,396 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main bind9-doc all 1:9.9.5.dfsg-
3ubuntu0.8 [182 kB]
Fetched 182 kB in 0s (363 kB/s)
Selecting previously unselected package bind9-doc.
(Reading database ... 54464 files and directories currently installed.)
Preparing to unpack .../bind9-doc_1%3a9.9.5.dfsg-3ubuntu0.8_all.deb ...
Unpacking bind9-doc (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up bind9-doc (1:9.9.5.dfsg-3ubuntu0.8) ...
assign2@assign2server:~#
DNS Server - Basic Configuration
Studied about the DNS Server and its functioning from the RHCE books and other university
notes. Studied about the Linux commands and practiced most of them to do the work (Love,
2013) (Ray and Ray, 2007) (Linux.com | The source for Linux information, 2017).
Used assign2 credentials to login to the linux server.
Selected hostname as “mylinux” while installing. Hostname changed to “assign2server”
hostname is the command used for this purpose.
Fully Qualified Domain Name : assign2server.itc514.edu is assumed.
8
Document Page
Installed DNS utilities bind9 documentation
Studied about the DNS Server and its functioning from the RHCE books and other university
notes. Studied about the Linux commands and practiced most of them to do the work.
sudo apt-get install dnsutils bind9-doc
Primary master Setup
Studied about the DNS Server and its functioning from the RHCE books and other university
notes. Studied about the Linux commands and practiced most of them to do the work
(Ee.surrey.ac.uk, 2017) (Ee.surrey.ac.uk, 2017).
Backed up the existing DNS records and the domain details. New Domain and DNS
specifications.
New Domain Name: itc514.edu
FQDN of the server assign2server.itc514.edu
FQDN of the Client assign2client.itc514.edu
DNS Server IP: 192.168.10.100
Forward Lookup Zone Setup
zone " itc514.edu" {
type master;
9
Document Page
file "/etc./bind/db.itc514.edu";
};
Reverse zone file Setup
Studied about the DNS Server and its functioning from the RHCE books and other university
notes. Studied about the Linux commands and practiced most of them to do the work.
zone "10.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
Restarted the service.
sudo service bind9 restart
MAJOR TASKS IN THE ASSIGNMENT
Studied about the DNS Server and its functioning from the RHCE books and other university
notes. Studied about the Linux commands and practiced most of them to do the work.
Created domain in itc514.edu.local file
#vi /etc/bind/itc514.edu.local
//Forward zone
Zone “assign2server.itc514.edu”{
type master;
10
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
file “/etc/bind/itc514.edu.local
//reverse zone
zone “10.168.192.in-addr.arpa”{
type master;
file “/etc/bind/db.10”;
};
Made forward and reverse entries as asked
# vi /etc/bind/db.itc514.edu
host1 IN A 192.168.10.5
host2 IN A 192.168.10.6
host3 IN A 192.168.10.7
www IN CNAME host1
srv_file IN CNAME host2
# vi /etc/bind/db.1
5 IN PTR host1
6 IN PTR host2
7 IN PTR host3
DNS Server Testing
Studied about the DNS Server and its functioning from the RHCE books and other university
notes. Studied about the Linux commands and practiced most of them to do the work.
Used nslookup commands and checked all the hosts and found all the hosts are showing the correct
domain name as well as Ips.
11
Document Page
#nsloookup 192.168.10.6
host2
#nslookup host3
192.168.10.7
Problems faced in Linux based DNS servers
Studied about the DNS Server and its functioning from the RHCE books and other university
notes. Studied about the Linux commands and practiced most of them to do the work.
Setup physical server. It took more than 1 hour to install.
Installed ubuntu linux in VM and it went fast. Took less then 30 minutes.
Network setting in ubuntu server VM is difficult.
Unix commands are not easy. Referred a book in hand in executing commands.
Setting up LAMP server is a difficult task. LAMP is using BIND
Could not use command without SUDO
PART-2
2) Create a user "assgn2' and in their home directory create the files with the following permission
Already did this work.
a) Answer is below:
myserver@assign2server # sudo useradd assgn2
12
chevron_up_icon
1 out of 15
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]