SchoolOnffLine: Instalasi BIND DNS Server

From OnnoWiki
Revision as of 19:36, 17 November 2010 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Instalasi BIND

apt-get install dnsutils bind9


Isi data DNS sekolah.sch.id

Lebih aman dan mudah menggunakan Webmin. Silahkan membaca SchoolOnffLine:Manual DNS Server Menggunakan Webmin

Tapi kalau maksa mau menggunakan text bisa juga. Kira-kira langkah yang perlu dilakukan adalah, 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

Data DNS Sekolah.sch.id

$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
jabber  IN A            192.168.0.254
mahara  IN A            192.168.0.254
guru1   IN A            192.168.0.254
guru2   IN A            192.168.0.254
guru3   IN A            192.168.0.254
guru4   IN A            192.168.0.254
guru5   IN A            192.168.0.254
siswa1  IN A            192.168.0.254
siswa2  IN A            192.168.0.254
siswa3  IN A            192.168.0.254
siswa4  IN A            192.168.0.254
siswa5  IN A            192.168.0.254
        IN MX 10        192.168.0.254

Restart DNS

# /etc/init.d/bind9 restart


Pranala Menarik