Friday, February 8, 2008

Konfigurasi BIND9 pada windows Xp (BIND9 config)

untuk mengkonfigurasi BIND9 di perlukan beberapa file :
1. named.conf
2.resolv.conf
3.ekstrak file zip BIND9.x.x yg dapat anda unduh dari http://www.isc.org/index.pl?/sw/bind/

Setelah semuanya tersedia, lakukanlah langkah simple sbb:
1. Ekstrak file zip BIND versi berapa aja (saat ini sdh ada versi BIND9), lalu copy file *.exe dan file *dll ke dalam dierctory etc yg ada pada system windows.

2. Langkah kedua adalah membuat file named.conf dan tuliskan atau kopi-paste saja script ini yg aku dapat dari http://www.zytrax.com/books/dns/ch5/win2k.html

---------------------------------------------------
// generated by ME
// CACHING NAME SERVER for NT 4.0
// 1. dec 2004
// a. changed directory statement to windows format
// b. changed location of log file to named\log\named.log
// c. changed location of all zone files to named\zones
// d. added pid-file directive in named\run\named.pid
options {
directory "C:\Winnt\system32\dns\etc";
// version added for security otherwise may be able to exploit known weaknesses
version "not currently available";
pid-file "named\run\named.pid";
recursion yes;
};

// log to named\log\named.log events from info UP in severity (no debug)
// defaults to use 3 files in rotation
// failure messages up to this point are in the event log
logging{
channel my_log{
file "named\log\named.log" versions 3 size 250k;
severity info;
};
category default{
my_log;
};
};
zone "." {
type hint;
file "named\zones\root.servers";
};

zone "localhost" in{
type master;
file "named\zones\master.localhost";
allow-update{none;};
};
zone "0.0.127.in-addr.arpa" in{
type master;
file "named\zones\localhost.rev";
allow-update{none;};
};
-----------------------------------

3. Lalu, Buatlah file resolv.conf, file ini berisi nameserver yg kita gunakan dengan sintaks sbb:

nameserver ip-server-kamu

nameserver yg kita pakai bisa 1 atau lebih.

4. Setelah semua itu cobalah untuk melihat-lihat authorative server sebuah domain.

misalnya dig www.google.com


Sampai disini konfigurasi Bind pada window xp teleh selesai. Semoag bermanfaat. TERIMA KASIH



No comments: