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

From OnnoWiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
Instalasi BIND
+
Instalasi [[BIND]]
  
  # apt-get install dnsutils bind9
+
  apt-get install dnsutils bind9
  
  
Line 26: Line 26:
 
  # vi /etc/bind/sekolah.sch.id.db
 
  # vi /etc/bind/sekolah.sch.id.db
  
Isi
+
==Data DNS Sekolah.sch.id==
  
 
  $TTL    86400
 
  $TTL    86400
Line 44: Line 44:
 
  mail    IN A            192.168.0.254
 
  mail    IN A            192.168.0.254
 
  pop3    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
 
         IN MX 10        192.168.0.254
 
 
 
  
 
==Restart DNS==
 
==Restart DNS==
Line 61: Line 69:
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[Remastering Ubuntu]]
 
* [[Remastering Ubuntu]]
 +
 +
[[Category: Linux]]
 +
[[Category: Distro Linux]]
 +
[[Category: SchoolOnffLine]]

Latest revision as of 19:36, 17 November 2010

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