efek kupu-kupu terbang

Rabu, 19 November 2014

Cara installasi bind9 (DNS)



Cara installasi bind9 (DNS)

1.     Jaringan 1 : internal network
2.     Buka virtual box -> root terminal
3.     Nano /etc/resolv.conf (enter)
#.................
Domain smk2kudus.net
Search smk2kudus.net
Name server 192.168.10.1 (sesuai eth0)
Name server 202.134.1.10
Name server 202.134.0.155
(ctrl+o, enter, ctrl+x)
4.     Masukkan CD/ISO
5.     Apt-cdrom add (enter)
6.     Apt-get install bind9 (enter)
7.     Nano /etc/bind/db.local (enter)
@        IN        SOA    smk2kudus.net. root.smk2kudus.net. (
@        IN        NS       smk2kudus.net.
@        IN        A         192.168.10.1
@        IN        A         192.168.10.1
Server IN      A         192.168.10.1
www  IN        A         192.168.10.1
ftp      IN        A         192.168.10.1
mail    IN        A         192.168.10.1
proxy  IN      A         192.168.10.1
(ctrl+o. enter, ctrl+x)

8.     Nano /etc/bind/db.127 (enter)
Di ganti dengan smk2kudus.net
(ctrl+o, enter, ctrl+x)
9.     Nano /etc/bind/named.conf.local (enter)
Zone “smk2kudus.net” {
Type master ;
File “/etc/bind/db.local” ;
} ;

Zone “192.168.10.in-addr.arpa” {
Type master ;
File “/etc/bind/db.127” ;
} ;
(ctrl+o, enter, ctrl+x)
10.                        Nano /etc/resolv.conf (enter)
Domain smk2kudus.net
Search smk2kudus.net
Name server 192.168.10.1
Name server 202.134.1.10
Name server 202.134.0.155 (IP telkom)
11.                        /etc/init.d/bind9 restart (enter)
12.                        Dig smk2kudus.net (enter)
13.                        Ping smk2kudus.net (enter)
14.                        Nslookup smk2kudus.net (enter)

Tidak ada komentar:

Posting Komentar