SchoolOnffLine: Instalasi BIND DNS Server

From OnnoWiki
Revision as of 09:28, 7 September 2009 by Onnowpurbo (talk | contribs)
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
        IN MX 10        192.168.0.254



Restart DNS

# /etc/init.d/bind9 restart


Pranala Menarik