Difference between revisions of "Korban: Install bind"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Install sudo apt-get install dnsutils bind9")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Install
 
Install
  
  sudo apt-get install dnsutils bind9
+
  sudo apt -y install dnsutils bind9
 +
 
 +
Restart
 +
 
 +
/etc/init.d/bind9 restart
 +
 
 +
 
 +
==Konfigurasi==
 +
 
 +
Edit
 +
 
 +
vi /etc/bind/named.conf.options
 +
 
 +
options {
 +
        directory "/var/cache/bind";
 +
        recursion yes;
 +
        allow-recursion { any; };
 +
        allow-query { any; };
 +
        allow-query-cache { any; };
 +
};

Latest revision as of 10:40, 1 February 2018

Install

sudo apt -y install dnsutils bind9

Restart

/etc/init.d/bind9 restart


Konfigurasi

Edit

vi /etc/bind/named.conf.options 
options {
        directory "/var/cache/bind";
        recursion yes;
        allow-recursion { any; };
        allow-query { any; };
        allow-query-cache { any; };
};