24 Oktober 2009

Konfigurasi DNS Server

mmm......

Kalo aku Waktu itu udah ngebahas tentang pengertian Server dan macam-macamnya, sekarang aku mau ngebahas tentang Konfigurasi DNS Server. Gimana siiiihh cara mengkonfigurasi DNS sever...??? :-?
>>> yuuu ikutin cara-nya...........

Konogurasi DNS Server pada Linux

Langkah Pertama yaitu dengan membuat file named.conf , cara membuatnya gampang koq. Agar file name.conf bisa di edit kita install adalah paket bind atau named dengan cara :
  • server@root# apt-get install bind
Setelah terinstall cari file name.conf dengan cara :
  • server@root# locatenamed.conf/etc/bind/named.conf
Setelah itu edit file tersebut dengan perintah :
  • server@root# mcedit/etc/bind/named.conf
Lalu tambahkan configurasi di bawah ini kedalamnya :
  • zone "holly-thea.com"{
  • type master ;
  • file " /etc/bind/zones/holly-thea.com";
  • };
  • zone "192.168.2 : in addr.arpa"{
  • type master ;
  • file "/etc/bind/zones/forward. holly-thea.com;
  • };
Setelah itu copy file /etc/bind/db.local dengan nama /etc/bind/zones/holly-thea.com
dan file /etc/bind/db.127 dengan nama /etc/bind/zones/forward.holly-thea.com, dengan cara :
  • server@root# cp/etc/bind/db.local /etc/bind/zones/holly-thea.com
  • server@root# cp/etc/bind/db.127 /etc/bind/zones/forward.holly-thea.com
Lalu edit kedua file tadi dengan cara di bawah ini :
  • server@root# mcdit/etc/bind/holly-thea.com
  • $ TTL 604800
  • @ IN SOA holly-thea.com.root.holly-thea.com,{
  • 1 ; serial
  • 604800 ; refresh
  • 86400 ; Retry
  • 2419200 ; expire
  • 604800 ) ; negative cache TTL ;
  • @ IN NS holly.thea.com# ganti dengan nama domain yang anda gunakan
  • @ IN A 192.168.2.1 # ganti ip yang digunakan
  • server@root# mcdit/etc/bind/forward.holly-thea.com
  • $ TTL 604800
  • @ IN SOA holly-thea.com.root.holly-thea.com,{
  • 1 ; serial
  • 604800 ; refresh
  • 86400 ; Retry
  • 2419200 ; expire
  • 604800 ) ; negative cache TTL ;
  • @ IN NS holly.thea.com# ganti dengan nama domain yang anda gunakan
  • @ IN A 192.168.2.1 # ganti ip yang digunakan
Setelah itu edit file /etc/resolv.conf, dengan cara :
  • server@root# mcdit/etc/resolv.conf
  • nameserver 192.168.2.1
Reload paket bind dengan cara berikut ini :
  • server@root# /etc/init.d/bind restart
selsai deeeehh....
selamat mencoba n' sukses yaahhh.......


2 komentar:

  1. Wah..master Linux ya? sayang nih, aq gak make linux

    BalasHapus
  2. hehehhehe.......

    ngga aku mah bukan master sama sekali ngga......

    BalasHapus

gOogLe TransLate.....

Pengikut