Konfigurasi DNS
192.168.100.1 <-------> sambalgoreng.pedas------->
1. Installasi bind9
# apt-get install bind9
2. Konfigurasi file named.conf.default.zones.old
(boleh juga pada file named.conf)
# nano /etc/bind/named.conf.default-zones
3. Tambahkan berikut:
zone "sambalgoreng.pedas" { // zone domain
type master;
file "/var/cache/bind/forward"; //lokasi file forward
};
zone "100.168.192.in-addr.arpa" { // 3 blok ip secara terbalik
type master;
file "/var/cache/bind/reverse"; //lokasi file reverse
};
4. Buat file forward & reverse
# cp –a /etc/bind/db.local /var/chace/bind/forward
#cp –a /etc/bind/db.255 /var/chace/bind/reverse
5. Konfigurasi file forward
BERSAMBUNG...... :-)
0 comments:
Post a Comment