Pertama install dengan perintah
#Apt-get install bind9
Konfigurasi named.conf
 dengan perintah mcedit /etc/bind/named.conf
Kemudian tambahkan
zone "tkj.com" {          =====è tergantung nama server yang anda
    type master;            pakai 
    file "/var/cache/bind/db.tkj"; =è letak zone file
};
zone "192.in-addr.arpa" { =====è ip yang anda gunakan
    type master;
    file "/var/cache/bind/db.192";
};
Konfigurasi zone file
Buatlah file dengan perintah touch db.tkj atau anda copy dari /etc/bind/db.local
Kemudian edit file db.tkj
 ;
; BIND data file for local loopback interface
;
$TTL 604800
@   IN  SOA tkj.com. root.tkj.com. (
                   1      ; Serial
              604800      ; Refresh
               86400      ; Retry
             2419200      ; Expire
              604800 )    ; Negative Cache TTL
;
@   IN  NS  tkj.com.
@   IN  A   192.168.10.1
www IN  A   192.168.10.1
Buatlah juga file db.192 dengan perintah touch db.192 atau anda copy dari /etc/bind/db.127
Kemudian edit file db.192
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@   IN  SOA tkj.com. root.tkj.com. (
                   1      ; Serial
              604800      ; Refresh
               86400      ; Retry
             2419200      ; Expire
              604800 )    ; Negative Cache TTL
;
@       IN  NS  tkj.com.
1.10.168 IN  PTR tkj.com.
1.10.168 IN  PTR www.tkj.com.
Jumat, 04 Januari 2008
Langganan:
Posting Komentar (Atom)
 
 


Tidak ada komentar:
Posting Komentar