Wednesday, December 26, 2007

DNS Server dengan BIND

#apt-get install bind

setelah proses instalasi selesai, lakukan pengeditan. tambahkan pada
root@mamat-desktop:/etc/bind#
vi named.conf

zone "smpn24.com" {
type master;
file "/etc/bind/forward.zone";
};

isi konfigurasi forward.zone

GNU nano 2.0.2 File: forward.zone

;
; BIND reverse data file for broadcast zone
;
$TTL 604800
@ IN SOA mamat-linux.smpn24.com. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS mamat-linux.
IN MX 10 mail
mamat-linux IN A 172.18.3.193
www IN A 172.18.3.193

tambahkan konfigurasi
root@mamat-desktop:# nano /etc/resolv.conf
nameserver 172.18.3.193

jalankan dengan
/etc/init.d/bind start

No comments:

Post a Comment