Setting BIND9 di debby
Gara-gara dns server dah mo KO HDD nya, kepaksa buat DNS server lagi :D
ini step by step nya :
1. Install paket bind9
apt-get install bind9
2. Stop bind9
/etc/init.d/bind9 stop
3. Edit file /etc/default/bin9
tambahkan opsi berikut (edit yang lama)
OPTIONS="-u bind -t /var/lib/named"
4. Lakukan perintah berikut,
mkdir -p /var/lib/named/etc
mkdir /var/lib/named/dev
mkdir -p /var/lib/named/var/cache/bind
mkdir -p /var/lib/named/var/run/bind/run
mv /etc/bind /var/lib/named/etc
ln -s /var/lib/named/etc/bind /etc/bind
mknod /var/lib/named/dev/null c 1 3
mknod /var/lib/named/dev/random c 1 8
chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
chown -R bind:bind /var/lib/named/var/*
chown -R bind:bind /var/lib/named/etc/bind
4.Restart syslogd dan bin9
/etc/init.d/sysklogd restart
/etc/init.d/bind9 start
5. Next kita buat dual zone ......... ntar yah
ini step by step nya :
1. Install paket bind9
apt-get install bind9
2. Stop bind9
/etc/init.d/bind9 stop
3. Edit file /etc/default/bin9
tambahkan opsi berikut (edit yang lama)
OPTIONS="-u bind -t /var/lib/named"
4. Lakukan perintah berikut,
mkdir -p /var/lib/named/etc
mkdir /var/lib/named/dev
mkdir -p /var/lib/named/var/cache/bind
mkdir -p /var/lib/named/var/run/bind/run
mv /etc/bind /var/lib/named/etc
ln -s /var/lib/named/etc/bind /etc/bind
mknod /var/lib/named/dev/null c 1 3
mknod /var/lib/named/dev/random c 1 8
chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
chown -R bind:bind /var/lib/named/var/*
chown -R bind:bind /var/lib/named/etc/bind
4.Restart syslogd dan bin9
/etc/init.d/sysklogd restart
/etc/init.d/bind9 start
5. Next kita buat dual zone ......... ntar yah
Komentar