root@rufaidah:~# vi /etc/bind/named.conf.options
options {
directory "/etc/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;
// };
# add a range you allow to transfer zones
allow-transfer { localhost; 10.20.0.0/24; 172.16.0.80/29; };
auth-nxdomain no; # conform to RFC1035
# listen-on-v6 { any; };
};
root@rufaidah:~# rndc reload
server reload successful
root@slave:~# vi /etc/bind/named.conf.external-zones
# add settings like follows
zone "server.world" {
type slave;
masters { 172.16.0.82; };
file "/etc/bind/slaves/server.world.wan";
};
root@slave:~# mkdir /etc/bind/slaves
root@slave:~# chown bind. /etc/bind/slaves
root@slave:~# rndc reload
server reload successful
root@slave:~# ls /etc/bind/slaves
server.world.wan
Saturday, 11 April 2015
Install DNS DI Debian Bagian 4
Posted By: Rufaidah-network - 15:30About Rufaidah-network
Techism is an online Publication that complies Bizarre, Odd, Strange, Out of box facts about the stuff going around in the world which you may find hard to believe and understand. The Main Purpose of this site is to bring reality with a taste of entertainment
Subscribe to:
Post Comments (Atom)
Popular
Tags
Videos
0 komentar:
Post a Comment