Difference between revisions of "Korban: Install bind"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Install sudo apt-get install dnsutils bind9") |
Onnowpurbo (talk | contribs) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Install | Install | ||
| − | sudo apt- | + | 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; };
};