Configuring BIND DNS Server using the ubuntu 9.04

DNS is a system that stores information about host names and domain names in the form of databases scattered (distributed database) on a computer network, such as the Internet. Provides an IP address for each host name and log every mail transmission server (mail exchange server) receiving electronic mail (email) for each domain.
for a settings in linux ubuntu, follow the step-by-step below:
step1: Install paket bind9 dengan perintah
# sudo apt-get install bind9
step 2: using the command sudo nautilus is a bit tricky to edit your ethernet but here I will use the following command;
# nano /etc/network/interfaces eth0
maka akan muncul tampilan berikut
ifill ip and, for a network subnet mask, and gateway ip. after that type ctrl + x and press Y for a save the file.

step 3: named.conf.options further edit configuration files for a make major bind. usually if you install Bind from the source code, we have to edit named.conf. but in Ubuntu 8.04 is recommended not to change the named.conf. if we want to add new drop zone configuration in named.conf.local. command;
# nano /etc/bind/named.conf.local
step 4: remove the sign "//" (without the quotes) on line forwarders, ip, and closing tag at the nanoscale with the command;
# nano /etc/bind/named.conf.options
the ip an IP change with what we want in the line of 0.0.0.0, then typing ctrl + x and press Y enter ...

step 5: ketikan perintah # sudo cp /etc/bind/db.local /etc/bind/db.sfi.com
which means that the contents of the file is copied to the file db.local db.sfi.com, and typing the command
# sudo cp /etc/bind/db.127 /etc/bind/db.192
step 6: typing the next command # sudo nano /etc/bind/db.sfi.com to configure the file is copied from the file db.local, the results appear below;


step 7: after typing the command in step 6, and then type the command # sudo nano /etc/bind/db.10 we edit the copied part of the file db.127 results appear below






step 8after doing the above configuration and then restart networking services bind you to the command;
# sudo /etc/init.d/bind9 restart # sudo /etc/init.d/networking restart

step 9for a see your configuration was successful or not do command;
# dig sfi.com

good luck, if there is a message and critique please leave a comment below...thank's for mr.periyadi



Lebih baru Lebih lama

Formulir Kontak