Instalasi DNS
1. Setting IP Address (Interfaces) a. Cek status Network Interfaces ifconfig
b. Setting file “Interfaces” pico /etc/network/interfaces
[KETIKAN] auto lo iface lo inet loopback
auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.10.1 netmask 255.255.255.252
[SAVE]
c. Restart Networking /etc/init.d/networking restart
d. Sumber Belajar http://www.debian.org/doc/manuals/debian-reference/ch05.en.html 2. Setting CD di apt-get a. Aktifkan CD di VMware Pastikan CD telah aktif dan berisi DVD debian 5.
b. Setting apt-get repository apt-cdrom add
3. Instalasi bind9 a. Install bind9 apt-get install bind9
b. Berpindah ke direktori bind9 cd /etc/bind
c. Backup file “named.conf” cp named.conf named.conf.backup
4. File: named.conf pico named.conf
[KETIKAN sebelum include “/etc/bind/named.conf.local”]
zone "nol.com" { type master; file "/etc/bind/db.nol"; }; zone "10.168.192.in-addr.arpa" { type master; file "/etc/bind/db.nol.rev"; };
[SAVE]
5. File: db.nol a. Gandakan file db.0 menjadi db.nol cp db.0 db.nol
b. Setting file db.nol pico db.nol
[EDIT seperti Gambar di Bawah ini]
[SAVE]
6. File: db.nol.rev a. Gandakan file db.0 menjadi file db.nol.rev cp db.0 db.nol.rev
b. Setting file db.nol.rev pico db.nol.rev
[EDIT seperti Gambar di Bawah ini]
[SAVE]
7. File: resolv.conf pico /etc/resolv.conf
[GANTI menjadi]
[SAVE]
8. Restart bind9 /etc/init.d/bind9 restart
9. Test DNS
nslookup nol.com
nslookup 192.168.10.1
Tidak ada komentar:
Posting Komentar