DNS SERVER
A. Learning objectives:
B. Preparation of Tools and Materials:
-VMware Workstation/VMware Player
-ISO Debian 11 (can be downloaded from https://www.debian.org/distrib/)
Minimum Specifications:
RAM: 2 GB (recommended 4 GB)
Storage: 20 GB
Processor: Dual-core
Installation process:
1 First, go to cd /etc/bind, to see our files.
2. Once the apt update is complete, install bind9 by entering the command apt install bind9 .
BIND9 (Berkeley Internet Name Domain version 9) is a widely used open source software
designed to function as a DNS server.
3. copy db.local into a new file with the domain name you will create. Copy db.127 into a new
file with the Host IP of the server IP Address. name it db.ip. You can see the list of files with the
ls command.
4. Then enter the command nano named.conf.local.
5. Create a zone definition. The zone definition is the main content of the named.conf.local file.
The zone definition defines the domain (zone) that the DNS server has authority over. In the figure,
the first zone is the forward zone and the second zone is the reverse zone. After you have finished
creating it, click CTRL, X, Y, ENTER on the keyboard. (disclaimer: untuk zone tetap pakai satria.com ya,
itu screenshot an baru).
6. Open the named.conf.options file by entering the command nano named.conf.options .
The named.conf.options file in the BIND9 configuration on a Linux server contains global
settings and options that affect how the DNS server works.
7. Enter forwarder, This is useful for recursive DNS servers that rely on upstream servers.
So, enter the IP Address for the available forwarder or the one you are using on your network.
For example 192.168.161.194 . After completing the configuration, click CTRL, X, Y, ENTER .
8. Open the file created earlier by copying the db.local file.
10. Open the previously created file (db.ip) by copying the db.127 file.
RESULT:
- PING TO DOMAIN satria.com
- DIG