SMEOnffLine: Instalasi BIND DNS Server

From OnnoWiki
Jump to navigation Jump to search

Instalasi BIND

# apt-get install dnsutils bind9


Isi data DNS ukm.co.id

Lebih aman dan mudah menggunakan Webmin. Silahkan membaca SMEOnffLine: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 "ukm.co.id" IN {
        type master;
        file "/etc/bind/ukm.co.id.db";
};


Edit

# vi /etc/bind/ukm.co.id.db

Data DNS ukm.co.id

$TTL    86400
@       IN SOA  ukm.co.id admin.ukm.co.id. (
                        42              ; serial (d. adams)
                        3H              ; refresh
                        15M             ; retry
                        1W              ; expiry
                        1D )            ; minimum
        IN NS   ukm.co.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
        IN MX 10        192.168.0.254

Restart DNS

# /etc/init.d/bind9 restart


Pranala Menarik