Install DNS Ubuntu 20.04: Perbedaan antara revisi

Dari Dokumentasi Robie
Loncat ke navigasi Loncat ke pencarian
(←Membuat halaman berisi 'BIND (Berkeley Internet Name Domain) adalah implementasi dari protokol Domain Name System (DNS). Di dalam-nya termasuk, * Domain Name Server (named) * Library untuk Domain Name System (DNS) resolver * Berbagai tool / alat untuk mencek apakah DNS Server bekerja dengan baik. Di Ubuntu, Instalasi BIND sangat mudah hanya dengan menggunakan perintah sudo apt -y install dnsutils bind9 sudo apt -y install bind9 bind9utils bin...')
 
Tidak ada ringkasan suntingan
Baris 8: Baris 8:


  sudo apt -y install dnsutils bind9
  sudo apt -y install dnsutils bind9
~$ sudo apt -y install dnsutils bind9
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following additional packages will be installed:
  bind9-utils dns-root-data python3-ply
Suggested packages:
  bind-doc resolvconf python-ply-doc
The following NEW packages will be installed:
  bind9 bind9-utils dns-root-data dnsutils python3-ply
0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded.
Need to get 459 kB of archives.
After this operation, 1974 kB of additional disk space will be used.
Get:1 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-ply all 3.11-3ubuntu0.1 [46.3 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9-utils amd64 1:9.16.1-0ubuntu2.15 [172 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu focal/main amd64 dns-root-data all 2019052802 [5300 B]
Get:4 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9 amd64 1:9.16.1-0ubuntu2.15 [233 kB]
Get:5 http://id.archive.ubuntu.com/ubuntu focal-updates/universe amd64 dnsutils all 1:9.16.1-0ubuntu2.15 [2756 B]
Fetched 459 kB in 28s (16.5 kB/s)                                             
Selecting previously unselected package python3-ply.
(Reading database ... 73108 files and directories currently installed.)
Preparing to unpack .../python3-ply_3.11-3ubuntu0.1_all.deb ...
Unpacking python3-ply (3.11-3ubuntu0.1) ...
Selecting previously unselected package bind9-utils.
Preparing to unpack .../bind9-utils_1%3a9.16.1-0ubuntu2.15_amd64.deb ...
Unpacking bind9-utils (1:9.16.1-0ubuntu2.15) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../dns-root-data_2019052802_all.deb ...
Unpacking dns-root-data (2019052802) ...
Selecting previously unselected package bind9.
Preparing to unpack .../bind9_1%3a9.16.1-0ubuntu2.15_amd64.deb ...
Unpacking bind9 (1:9.16.1-0ubuntu2.15) ...
Selecting previously unselected package dnsutils.
Preparing to unpack .../dnsutils_1%3a9.16.1-0ubuntu2.15_all.deb ...
Unpacking dnsutils (1:9.16.1-0ubuntu2.15) ...
Setting up python3-ply (3.11-3ubuntu0.1) ...
Setting up dnsutils (1:9.16.1-0ubuntu2.15) ...
Setting up dns-root-data (2019052802) ...
Setting up bind9-utils (1:9.16.1-0ubuntu2.15) ...
Setting up bind9 (1:9.16.1-0ubuntu2.15) ...
named-resolvconf.service is a disabled or a static unit not running, not starting it.
Processing triggers for systemd (245.4-4ubuntu3.17) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for ufw (0.36-6ubuntu1) ...
robie@robie:~$
  sudo apt -y install bind9 bind9utils bind9-doc
  sudo apt -y install bind9 bind9utils bind9-doc



Revisi per 19 September 2023 07.06

BIND (Berkeley Internet Name Domain) adalah implementasi dari protokol Domain Name System (DNS). Di dalam-nya termasuk,

Di Ubuntu, Instalasi BIND sangat mudah hanya dengan menggunakan perintah

sudo apt -y install dnsutils bind9
~$ sudo apt -y install dnsutils bind9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  bind9-utils dns-root-data python3-ply
Suggested packages:
  bind-doc resolvconf python-ply-doc
The following NEW packages will be installed:
  bind9 bind9-utils dns-root-data dnsutils python3-ply
0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded.
Need to get 459 kB of archives.
After this operation, 1974 kB of additional disk space will be used.
Get:1 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-ply all 3.11-3ubuntu0.1 [46.3 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9-utils amd64 1:9.16.1-0ubuntu2.15 [172 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu focal/main amd64 dns-root-data all 2019052802 [5300 B]
Get:4 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9 amd64 1:9.16.1-0ubuntu2.15 [233 kB]
Get:5 http://id.archive.ubuntu.com/ubuntu focal-updates/universe amd64 dnsutils all 1:9.16.1-0ubuntu2.15 [2756 B]
Fetched 459 kB in 28s (16.5 kB/s)                                              
Selecting previously unselected package python3-ply.
(Reading database ... 73108 files and directories currently installed.)
Preparing to unpack .../python3-ply_3.11-3ubuntu0.1_all.deb ...
Unpacking python3-ply (3.11-3ubuntu0.1) ...
Selecting previously unselected package bind9-utils.
Preparing to unpack .../bind9-utils_1%3a9.16.1-0ubuntu2.15_amd64.deb ...
Unpacking bind9-utils (1:9.16.1-0ubuntu2.15) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../dns-root-data_2019052802_all.deb ...
Unpacking dns-root-data (2019052802) ...
Selecting previously unselected package bind9.
Preparing to unpack .../bind9_1%3a9.16.1-0ubuntu2.15_amd64.deb ...
Unpacking bind9 (1:9.16.1-0ubuntu2.15) ...
Selecting previously unselected package dnsutils.
Preparing to unpack .../dnsutils_1%3a9.16.1-0ubuntu2.15_all.deb ...
Unpacking dnsutils (1:9.16.1-0ubuntu2.15) ...
Setting up python3-ply (3.11-3ubuntu0.1) ...
Setting up dnsutils (1:9.16.1-0ubuntu2.15) ...
Setting up dns-root-data (2019052802) ...
Setting up bind9-utils (1:9.16.1-0ubuntu2.15) ...
Setting up bind9 (1:9.16.1-0ubuntu2.15) ...
named-resolvconf.service is a disabled or a static unit not running, not starting it.
Processing triggers for systemd (245.4-4ubuntu3.17) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for ufw (0.36-6ubuntu1) ...
robie@robie:~$ 


sudo apt -y install bind9 bind9utils bind9-doc

Untuk menjalankan DNS Server tidak sukar. Setelah terinstall, dapat dilakukan dengan menggunakan perintah,

# /etc/init.d/bind9 restart


Mengkonfigurasi DNS Server

Hal yang mungkin agak rumit adalah mengkonfigurasi DNS Server. Pada dasarnya DNS Server hanya sebuah tabel dengan format kira-kira sebagai berikut,

hostname     IN    A       xxx.xxx.xxx.xxx
hostname     IN    MX 10   mailserver
hostname     IN    NS      dns.server

Bagi anda yang masih pusing cara mengkonfigurasi-nya ada baiknya menggunakan Webmin supaya jauh lebih mudah mengkonfigurasi DNS Server


Bagi anda yang penasaran dan ingin mengkonfigurasi DNS Server secara manual menggunakan tangan. Ada baiknya membaca-baca contoh konfigurasi ENUM Server

Referensi

artikel ini juga masuk di rubrik artikel direktori. jika ada artikel menarik silakan submit manual di web ID atau kita juga bisa memasukkan otomatis tanpa anda submit artikelnya.