Posted September 8, 2015 by rikad in Linux

Konfigurasi DNS Forwarding ns1 TF ke ns1 ITB

Saat Client di set ns1 (167.205.44.3) saja tidak bisa me-resolve query dari dns server lain, maka dibutuhkan fitur dns forwarding di ns1 TF agar saat client yang hanya mengkonfigurasi primary server ke ns1 TF bisa di teruskan ke ns1 ITB (167.205.22.123) …

 

konfigurasi /etc/bind/named.conf.options

options {
directory “/var/cache/bind”;

// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk.  See http://www.kb.cert.org/vuls/id/800113

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0’s placeholder.

forwarders {
167.205.22.123;
};
forward only;

auth-nxdomain no;    # conform to RFC1035
listen-on-v6 { none; };

allow-query { any; };
allow-recursion { any; };
allow-query-cache { any; };
};

lalu restart service bind9

/etc/init.d/bind9 restart


rikad