Difference between revisions of "SchoolOnffLine: Instalasi BIND DNS Server"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
Instalasi BIND
+
Instalasi [[BIND]]
  
 
  # apt-get install dnsutils bind9
 
  # apt-get install dnsutils bind9

Revision as of 05:53, 2 September 2009

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

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


Pranala Menarik