Difference between revisions of "BIND: Instalasi di Ubuntu 18.04"

From OnnoWiki
Jump to navigation Jump to search
Line 30: Line 30:
  
  
 
+
Ganti IP address 10.128.10.11 dengan IP address interface komputer anda, atau ganti dengan any 0.0.0.0
Ganti IP address 10.128.10.11 dengan IP address yang anda inginkan, atau ganti dengan any 0.0.0.0
 

Revision as of 11:54, 20 February 2019

Instalasi

sudo su
apt update
apt install bind9 bind9utils bind9-doc


Konfigurasi

Edit

sudo vi /etc/bind/named.conf.options

Ubah ns1 IP address yang benar, misalnya,

options {
        directory "/var/cache/bind";

        recursion yes;                 # enables resursive queries
        allow-recursion { trusted; };  # allows recursive queries from "trusted" clients
        listen-on { 10.128.10.11; };   # ns1 private IP address - listen on private network only
        allow-transfer { none; };      # disable zone transfers by default

        forwarders {
                8.8.8.8;
                8.8.4.4;
         };
...
};


Ganti IP address 10.128.10.11 dengan IP address interface komputer anda, atau ganti dengan any 0.0.0.0