SA Presentation
SA Presentation
Information Technology
Department
Project Assessment
Course IT371T
Section: 8W1
Team presentation
Role description Role name ID Name
All the DNS configurations are stored under /etc/bind directory. The primary configuration is
/etc/bind/named.conf which will include other needed files. The file named /etc/bind/db.root
.describes the root nameservers in the world
Project realisation
Configure Cache NameServer
The job of a DNS caching server is to query other DNS servers and cache the response. Next time when the same query is given, it will provide the
.response from the cache. The cache will be updated periodically
Please note that even though you can configure bind to work as a Primary and as a Caching server, it is not advised to do so for security reasons.
.Having a separate caching server is advisable
All we have to do to configure a Cache NameServer is to add your ISP (Internet Service Provider)’s DNS server or any OpenDNS server to the file
./etc/bind/named.conf.options. For Example, we will use google’s public DNS servers, 8.8.8.8 and 8.8.4.4
.Uncomment and edit the following line as shown below in /etc/bind/named.conf.options file
Now when the second time you execute the dig, there should be an improvement in the Query time. As you see below, it took only 3 msec the second time, as it is
.getting the info from our caching DNS server
Project realisation
Configure Primary/Master Nameserver
.” Next, we will configure bind9 to be the Primary/Master for the domain/zone “thegeekstuff.net
As a first step in configuring our Primary/Master Nameserver, we should add Forward and Reverse
.resolution to bind9
zone " thegeekstuff.net " {
type master;
file "/etc/bind/db. thegeekstuff.net ";
};
zone "0.42.10.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.10";
};
Now the file /etc/bind/db.thegeekstuff.net will have the details for resolving hostname to IP
address for this domain/zone, and the file /etc/bind/db.10 will have the details for resolving IP
.address to hostname
Project realisation
Build the Forward Resolution for Primary/Master NameServer
Now we will add the details which is necessary for forward resolution into /etc/bind/db.
. thegeekstuff.net
$ sudo cp /etc/bind/db.local /etc/bind/db. thegeekstuff.net
In the line which has SOA: localhost. – This is the FQDN of the server in charge for this )1
domain. I’ve installed bind9 in 10.42.0.83, whose hostname is “ns”. So replace the
.).(“localhost.” with “ns.thegeekstuff.net.”. Make sure it end’s with a dot
In the line which has SOA: root.localhost. – This is the E-Mail address of the person who )2
.is responsible for this server. Use dot(.) instead of @. I’ve replaced with lak.localhost
In the line which has NS: localhost. – This is defining the Name server for the domain )3
(NS). We have to change this to the fully qualified domain name of the name server.
.Change it to “ns.thegeekstuff.net.”. Make sure you have a “.” at the end
Project realisation
Next, define the A record and MX record for the domain. A record is the one which maps
.hostname to IP address, and MX record will tell the mailserver to use for this domain
Once the changes are done, the /etc/bind/db.thegeekstuff.net file will look like the
:following
$TTL 604800
@ IN SOA ns.thegeekstuff.net. lak.localhost. (
1024 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.thegeekstuff.net.
thegeekstuff.net. IN MX 10 mail.thegeekstuff.net.
ns IN A 10.42.0.83
web IN A 10.42.0.80
mail IN A 10.42.0.70
Project realisation
We will add the details which are necessary for reverse resolution to the file /etc/bind/db.10. Copy the file
/etc/bind/db.127 to /etc/bind/db.10
$ sudo cp /etc/bind/db.127 /etc/bind/db.10
Next, edit the /etc/bind/db.10 file, and basically changing the same options as /etc/bind/db.thegeekstuff.net
$TTL 604800
@ IN SOA ns.thegeekstuff.net. root.localhost. (
20 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.
In the above output, server refers to the IP address of the DNS server. Then the below section
”provides the “A Record” ( IP Address ) of the domain “redhat.com
Project organisation
mail server
Project realisation
mail server
The electronic equivalent of your friendly neighborhood
mailman is a mail server. A mail server is a computing device
that manages and delivers e-mail through a network, typically
the Internet. It is also sometimes referred to as an e-mail server.
Emails can be delivered to other mail servers by a mail server
after being received from client PCs. Emails can also be sent
from a mail server to client computers. A client computer is
typically the device you use to read your email, such as the PCs
and smartphone . you have protocols to do this process SMTP
protocol handles any outgoing mail requests and sends emails,
POP / IMAP for incoming mail servers.
Project realisation
mail server
Mail service components
The mail service on any server has three components:
If not installed, you can install Postfix mail server on different way based distribution:
On Debian based distros like Ubuntu
On Red Hat
Than, choice type of configuration of the Postfix mail server .No configuration, Internet site, Internet with
smarthost, Satellite system, and Local only, we will choose No configuration option.
Configure Linux
mail server
You must configure the Postfix mail server after installing it; the majority of its configuration files may be found in
the /etc/postfix/ directory one of this /etc/postfix/main.cf file contains the basic settings for the Postfix mail server.
There are multiple options in this file, including:
- Myhostname
his is the Internet hostname, which Postfix will receive emails on it.
- Mydomain
The mail domain that you will be servicing
- Myorigin
All emails sent from this mail server will look as though it came from this option
- Mydestination
lists the domains that the Postfix server uses for incoming emails.
- Mynetworks
This will let you arrange which servers can relay through your Postfix server. Only local addresses should be accepted,
similar to local mail programs on your server.
- inet_protocols
.IP protocol version used for server connections
Checking the mail queue
Sometimes there are too many messages in the mail queues. There are several causes for this, including network issues or
anything else that can cause mail delivery delays.
To check the mail queue:
You should flush the mail queue if it is full and it takes several hours to process a message:
If you change the configuration files then need to reload the service:
You can check for errors after typing any configuration in case you made a mistake.:
Secure mailboxes from spam using SpamAssassin
Nobody likes spam, and SpamAssassin is likely the best free, open source spam fighting tool you could expect to have on your
side.
Installing:
The databases available for Linux range from small, embedded tools such as SQLite to
powerful relational databases such as MySQL and even NoSQL databases for big
:data. Some of the more popular databases available for Linux include
PostgreSQL •
MariaDB •
IBM Db2 •
Oracle Database •
Project realization
database server
.first open your terminal -1
.You can verify that the repository is defined in the /etc/apt/sources.list file-4
:Perform the steps below on the ESET PROTECT Server Linux machine
.open the terminal as a root -1
If you are able to log in to the ESET PROTECT Web Console, the encrypted connection to the database works -7
.properly
References
1-
https://www.plesk.com/blog/various/setting-up-and-confi
guring-a-linux-mail-server/
2-
https://www.thegeekstuff.com/2014/01/install-dns-server
/
3
https://www.techtarget.com/searchdatacenter/tip/How-
to-set-up-a-MySQL-database-in-Linux