make simple DNS with bind9 on linux

First of all is definitely install bind9.

$ sudo apt-get install bind9

After that, to make it easier to go on derektori bind9 configuration...

# sudo  /etc/bind/

and configure  file named.conf

#pico /etc/bind/named.conf

and add the scrip :



zone "www.labjarkom.net" {
type master;
file "/etc/bind/db.jar";
};
change red color with your site name

zone "0.168.192.in-addr.arpa"{
type master;
file "/etc/bind/db.raj";
};
change red color with your IP number

sample in picture :

and create file in write on named.conf


#cp /etc/bind/db.local   /etc/bind/db.jar
 # cp /etc/bind/db.127   /etc/bind/db.raj