rndc connect failed 127.0.0.1 connection refused
Service bind9 restart
* Stopping domain name service... bind9
rndc: connect failed: 127.0.0.1#953: connection refused [ OK ]
* Starting domain name service... bind9 [fail]
Fix:
Buka file named.conf.options yang berada pada /etc/bind/ isi file:
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 {
// 0.0.0.0;
// };
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
allow-recursion {127.0.0.1; };
transfer-source;
};
pada baris script ini transfer-source;
beri tanda ‘*
‘ (tanpa kutip) di belakangnya sebelum ‘;
‘ , sehingga menjadi: transfer-source *;