Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 06-20-2013, 01:52 AM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Server › DNS Server v
1 2 Next »

[Tutor] Konfigurasi DNS Server pada Debain 6 (Squeeze)

Home General Computer Multimedia Business Lounge

Pages (2): 1 2 Next »
Post Reply 
Tweet
Threaded Mode | Linear Mode
Tutor Konfigurasi DNS Server pada Debain 6 (Squeeze)
02-15-2012, 10:24 AM
Post: #1
sandimulyadi Offline
d7480cd7a5b43cfbce5fc3b6f8fa88
Posts: 326
Joined: Feb 2012
Reputation: 58
Tongue Konfigurasi DNS Server pada Debain 6 (Squeeze)
Hi, selamat pagi.!!!
Ane mau terusin yang kemarin nih gan Setting IP Address pada Debian 6 (Squeeze)
Kini ane coba share tentang Konfigurasi DNS Server pada Debian 6.,
Langsung ajja, check this one out.!!!

1. Install tuh Bind9
Quote:root@sandimulyadi:/home/sandimulyadi# apt-get install bind9

2. Masuk ke direktory bind
Quote:root@sandimulyadi:/home/sandimulyadi# cd /etc/bind

3. Lihat ada ape ajja isi deirektory bind, takutnya sih nanti ada bommngakak
Quote:root@sandimulyadi:/etc/bind# ls
bind.keys db.empty named.conf.default-zones zones.rfc1918
db.0 db.local named.conf.local
db.127 db.root named.conf.options
db.255 named.conf rndc.key

4. Saatnya konfigurasi nih om smangat
Quote:root@sandimulyadi:/etc/bind# nano named.conf.default-zones
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";

};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

Ubah tulisan yang berwarna merah menjadi tulisan berwarna biru :
Quote:zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";

};

Menjadi :
Quote:zone "sandimulyadi.com" { //DNS Name Server
type master;
file "db.sandi"; //Database untuk DNS Name Server
};

zone "192.in-addr.arpa" { //IP Address pertama
type master;
file "db.192"; //Database untuk IP Address

};

Setelah selsai Ctrl + x lalu y & enter

5. Kopikan db.127 & db.local dengan perintah :
Quote:root@sandimulyadi:/etc/bind# cp db.127 db.192
root@sandimulyadi:/etc/bind# cp db.local db.sandi

6. Pindahkan db.192 & db.sandi yang telah anda buat ke direktory /var/cache/bind & liat apakah sudah ada seneng
Quote:root@sandimulyadi:/etc/bind# mv db.192 db.sandi /var/cache/bind
root@sandimulyadi:/etc/bind# cd /var/cache/bind
root@sandimulyadi:/var/cache/bind# ls
db.192 db.sandi

7. Lakukan pengeditan ke kedua databases tersebut
Quote:root@sandimulyadi:/var/cache/bind# nano db.192
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
1.0.0 IN PTR localhost.

Ubah script menjadi :
Quote:;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA sandimulyadi.com. root.sandimulyadi.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS sandimulyadi.com. //DNS Name Server
200.27.1 IN PTR sandimulyadi.com. //DNS Name Server

Ctrl + x lalu y & enter

Satu lagi :
Quote:root@sandimulyadi:/var/cache/bind# nano db.sandi
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.0

Ubah script menjadi :
Quote:;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA sandimulyadi.com. root.sandimulyadi.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS sandimulyadi.com. //DNS Name Server
@ IN A 192.200.27.1 //IP Address
www IN A 192.200.27.1 //IP Address

Ctrl + x lalu y & enter

8. Restart bind9nya & install software lain yang dibutuhkan untuk membangun DNS Server :
Quote:root@sandimulyadi:/var/cache/bind# /etc/init.d/bind9 restart
root@sandimulyadi:/var/cache/bind# apt-get install apache2 php5

9. Cek & reCek
Quote:root@sandimulyadi:/var/cache/bind# nslookup sandimulyadi.com
Server: 192.200.27.1
Address: 192.200.27.1#53

Name: sandimulyadi.com
Address: 192.200.27.1

10. Untuk memastikan cek di Web Browser, jika ada tulisan "It's Work" berarti konfigurasi telah berhasil

11. Enjoy

Jangan protes ya, DNS Name Server ame IP Addressnya pake terserah ane. Biar lebih mudah ajja ame narsis ngakak

Aduh ane priview koq malah acak-acakan yah.,
Ane nulissnya sih dari notepad lalu di kopas ke sini hmm
Males harus nulis dua kali kan lama ngambek

Yang penting mantap
Visit this user's website Find all posts by this user
Quote this message in a reply
 Reputed by :  Super Moderator(+1) , xtr0nic(+1) , Fauzi Topan(+1)
02-15-2012, 10:26 AM
Post: #2
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 7,026
Joined: Jan 2010
Reputation: 237
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
(02-15-2012 10:24 AM)sandimulyadi Wrote:  Hi, selamat pagi.!!!
Ane mau terusin yang kemarin nih gan Setting IP Address pada Debian 6 (Squeeze)
Kini ane coba share tentang Konfigurasi DNS Server pada Debian 6.,
Langsung ajja, check this one out.!!!

1. Install tuh Bind9
Quote:root@sandimulyadi:/home/sandimulyadi# apt-get install bind9

2. Masuk ke direktory bind
Quote:root@sandimulyadi:/home/sandimulyadi# cd /etc/bind

3. Lihat ada ape ajja isi deirektory bind, takutnya sih nanti ada bommngakak
Quote:root@sandimulyadi:/etc/bind# ls
bind.keys db.empty named.conf.default-zones zones.rfc1918
db.0 db.local named.conf.local
db.127 db.root named.conf.options
db.255 named.conf rndc.key

4. Saatnya konfigurasi nih om smangat
Quote:root@sandimulyadi:/etc/bind# nano named.conf.default-zones
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type om;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type om;
file "/etc/bind/db.127";

};
zone "0.in-addr.arpa" {
type om;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type om;
file "/etc/bind/db.255";
};

Ubah tulisan yang berwarna merah menjadi tulisan berwarna biru :
Quote:zone "localhost" {
type om;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type om;
file "/etc/bind/db.127";

};

Menjadi :
Quote:zone "sandimulyadi.com" { //DNS Name Server
type om;
file "db.sandi"; //Database untuk DNS Name Server
};

zone "192.in-addr.arpa" { //IP Address pertama
type om;
file "db.192"; //Database untuk IP Address

};

Setelah selsai Ctrl + x lalu y & enter

5. Kopikan db.127 & db.local dengan perintah :
Quote:root@sandimulyadi:/etc/bind# cp db.127 db.192
root@sandimulyadi:/etc/bind# cp db.local db.sandi

6. Pindahkan db.192 & db.sandi yang telah anda buat ke direktory /var/cache/bind & liat apakah sudah ada seneng
Quote:root@sandimulyadi:/etc/bind# mv db.192 db.sandi /var/cache/bind
root@sandimulyadi:/etc/bind# cd /var/cache/bind
root@sandimulyadi:/var/cache/bind# ls
db.192 db.sandi

7. Lakukan pengeditan ke kedua databases tersebut
Quote:root@sandimulyadi:/var/cache/bind# nano db.192
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
1.0.0 IN PTR localhost.

Ubah script menjadi :
Quote:;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA sandimulyadi.com. root.sandimulyadi.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS sandimulyadi.com. //DNS Name Server
200.27.1 IN PTR sandimulyadi.com. //DNS Name Server

Ctrl + x lalu y & enter

Satu lagi :
Quote:root@sandimulyadi:/var/cache/bind# nano db.sandi
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.0

Ubah script menjadi :
Quote:;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA sandimulyadi.com. root.sandimulyadi.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS sandimulyadi.com. //DNS Name Server
@ IN A 192.200.27.1 //IP Address
www IN A 192.200.27.1 //IP Address

Ctrl + x lalu y & enter

8. Restart bind9nya & install software lain yang dibutuhkan untuk membangun DNS Server :
Quote:root@sandimulyadi:/var/cache/bind# /etc/init.d/bind9 restart
root@sandimulyadi:/var/cache/bind# apt-get install apache2 php5

9. Cek & reCek
Quote:root@sandimulyadi:/var/cache/bind# nslookup sandimulyadi.com
Server: 192.200.27.1
Address: 192.200.27.1#53

Name: sandimulyadi.com
Address: 192.200.27.1

10. Untuk memastikan cek di Web Browser, jika ada tulisan "It's Work" berarti konfigurasi telah berhasil

11. Enjoy

Jangan protes ya, DNS Name Server ame IP Addressnya pake terserah ane. Biar lebih mudah ajja ame narsis ngakak

Aduh ane priview koq malah acak-acakan yah.,
Ane nulissnya sih dari notepad lalu di kopas ke sini hmm
Males harus nulis dua kali kan lama ngambek

Yang penting mantap

nte anak SMK mau ikut LKS bro? ketawa
Visit this user's website Find all posts by this user
Quote this message in a reply
02-15-2012, 10:29 AM
Post: #3
sandimulyadi Offline
d7480cd7a5b43cfbce5fc3b6f8fa88
Posts: 326
Joined: Feb 2012
Reputation: 58
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
(02-15-2012 10:26 AM)linuxer46 Wrote:  nte anak SMK mau ikut LKS bro? ketawa

Au akh gelap.,
dead
Visit this user's website Find all posts by this user
Quote this message in a reply
02-15-2012, 10:31 AM
Post: #4
vbenk Offline
Banned
Posts: 115
Joined: Jan 2011
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
buat centos 5 ada g om..??
Find all posts by this user
Quote this message in a reply
02-15-2012, 10:31 AM
Post: #5
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 7,026
Joined: Jan 2010
Reputation: 237
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
(02-15-2012 10:29 AM)sandimulyadi Wrote:  
(02-15-2012 10:26 AM)linuxer46 Wrote:  nte anak SMK mau ikut LKS bro? ketawa

Au akh gelap.,
dead

ketahuan Shutup
Visit this user's website Find all posts by this user
Quote this message in a reply
02-15-2012, 10:41 AM
Post: #6
sandimulyadi Offline
d7480cd7a5b43cfbce5fc3b6f8fa88
Posts: 326
Joined: Feb 2012
Reputation: 58
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
(02-15-2012 10:31 AM)vbenk Wrote:  buat centos 5 ada g om..??
Tau tuh.,
same ajja kaye nyah.!!!
Sama-sama linux maksudnya ngakak

Pada dasarnya sih sama kayaknya.,
ane coba di ubuntupun begitu,m pinter

(02-15-2012 10:31 AM)linuxer46 Wrote:  ketahuan Shutup
kalem
Visit this user's website Find all posts by this user
Quote this message in a reply
02-15-2012, 11:45 AM
Post: #7
Matmund Newbie Away
Devilzc0deR Sejati
****
Global Moderators
Posts: 856
Joined: Mar 2010
Reputation: 36
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
Hajar terussssssssssss.... Kalahin linuxer46 nya........... wkwkwkwkwk
Visit this user's website Find all posts by this user
Quote this message in a reply
02-15-2012, 12:24 PM
Post: #8
sandimulyadi Offline
d7480cd7a5b43cfbce5fc3b6f8fa88
Posts: 326
Joined: Feb 2012
Reputation: 58
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
(02-15-2012 11:45 AM)Matmund Newbie Wrote:  Hajar terussssssssssss.... Kalahin linuxer46 nya........... wkwkwkwkwk
Setelah ini ane lanjut ke "Cara install CMS Wordpress pada Web Server Debian 6 (Squeeze)".!!! ngakak
smangat
Visit this user's website Find all posts by this user
Quote this message in a reply
02-15-2012, 03:10 PM
Post: #9
cr0c0dil3 Offline
./Devilz 1st Cadet
Posts: 48
Joined: Feb 2012
Reputation: 4
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
mengenang zaman LKS 2009 nih... bikin DNS server pake debian woody..dead
Find all posts by this user
Quote this message in a reply
02-15-2012, 03:20 PM
Post: #10
sandimulyadi Offline
d7480cd7a5b43cfbce5fc3b6f8fa88
Posts: 326
Joined: Feb 2012
Reputation: 58
RE: Konfigurasi DNS Server pada Debain 6 (Squeeze)
(02-15-2012 03:10 PM)cr0c0dil3 Wrote:  mengenang zaman LKS 2009 nih... bikin DNS server pake debian woody..dead
ngakak
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Star [Tutor] Membuat DNS server dengan FreeBSD ./E1nzte1N 5 266 11-26-2012 11:39 PM
Last Post: ./E1nzte1N
  [Ask] free DNS server software / DNS manager konx 5 318 08-08-2012 03:40 PM
Last Post: ditatompel
Tongue [Tutor] Setting IP Address pada Debian 6 (Squeeze) sandimulyadi 11 1,453 07-20-2012 09:59 PM
Last Post: asong123
  [Tutor] [ispCP] Auto new zone transfer to secondary DNS server ditatompel 11 1,361 07-20-2012 02:26 PM
Last Post: arietux
  [Solved] instalasi NS Authoritative dengan Bind pada CentOS 6 tompskin 11 1,159 02-03-2012 02:10 PM
Last Post: tompskin
  bantuin setting dns server BlueWind 9 2,578 12-27-2011 07:57 AM
Last Post: h1dr0-X
  DNS Health (tool online untuk mengecek konfigurasi DNS kita) mywisdom 3 1,167 06-14-2011 06:55 PM
Last Post: easy2study
  [Tutor] BIND Caching Name Server Setup chaer.newbie 14 3,879 06-05-2011 10:43 PM
Last Post: easy2study
  [Tutor] DNS server with UNBOUND chaer.newbie 19 3,988 06-05-2011 10:42 PM
Last Post: easy2study
  Daftar DNS Server di Indonesia Super Moderator 14 4,320 06-05-2011 10:23 PM
Last Post: easy2study

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 06-20-2013, 01:52 AM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE