Senin, 16 Maret 2015

Instalasi dan konfigurasi DNS dengan debian 6 (VMware)

$>Aplikasi : bind9 1>nyalakan dvd debian 6 yang ke 1 2>#apt-get install bind9 3>File yang di konfigurasi =resolv.conf #cd /etc - #pico resolv.conf - edit menjadi : name server 192.168.2.2 - SAVE (CTRL+X) (Y) (ENTER) 4>File yang di konfigurasi : named.conf.local - #cd bind - #pico named.conf.local - tambahkan paling bawah : * zone "tekaje.com" { type master; file "/etc/bind/db.tkj"; }; * zone "2.168.192.in-addr.arpa" { type master; file "/etc/bind/db.tkj.rev"; }; - SAVE (CTRL+X) (Y) (ENTER) 5>#cp db.local db.tkj 6>#cp db.127 db.tkj.rev 7>konfigurasi file db.tkj -#pico db.tkj -local host di ganti tekaje.com tekaje.com. root.tekaje.com. ( 2 = serial 604800 = refresh 86400 = retry 2419200 = expire 604800 )= negative cache TTL @ IN NS ns.tekaje.com. @ IN A 192.168.2.2 ns IN A 192.168.2.2 www IN A 192.168.2.2 -SAVE (CTRL+X) (Y) (ENTER) 8>konfigurasi db.tekaje.rev -#pico db.tkj.rev -local host di ganti tekaje.com tekaje.com. root.tekaje.com. ( 2 = serial 604800 = refresh 86400 = retry 2419200 = expire 604800 )= negative cache TTL -SAVE (CTRL+X) (Y) (ENTER) 9>#service bind9 restart 10>#reboot 11>cek awal lewat debian 6 -#dig tekaje.com -#nslookup tekaje.com -nslookup www.tekaje.com 12>cek lewat windows XP -klik start -control panel -network -network -klik 2x local -properties -klik TCP/IP -setting IP: ip 192.168.2.1 sub 255.255.255.0 gateway 192.168.2.2 dns server 192.168.2.2 [dns server ke 2 kosongin] -OK 13>klik start 14>run 15>tulis CMD 16>tulis di cmd "ping www.tekaje.com" [tanpa kutip] 17>kalau berhasil ada tulisan TTL Maaf bila kurang jelas... silahkan kritik dan saran...

0 komentar:

Posting Komentar

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger | SMK Karya Bhakti, Brebes