SchoolOnffLine: Instalasi BIND DNS Server
Revision as of 12:01, 1 August 2009 by Onnowpurbo (talk | contribs)
Instalasi BIND
# apt-get install dnsutils bind9
Isi data DNS sekolah.sch.id
Edit
# vi /etc/bind/named.conf.local
Isi
zone "sekolah.sch.id" IN { type master; file "/etc/bind/sekolah.sch.id.db"; };
Edit
# vi /etc/bind/sekolah.sch.id.db
Isi
$TTL 86400 @ IN SOA sekolah.sch.id admin.sekolah.sch.id. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum
IN NS sekolah.sch.id. IN NS 192.168.0.254
IN A 192.168.0.254 www IN A 192.168.0.254 smtp IN A 192.168.0.254 mail IN A 192.168.0.254 pop3 IN A 192.168.0.254
IN MX 10 192.168.0.254
Restart DNS
# /etc/init.d/bind9 restart