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

[Tutor] Setting DNS CentOS

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
Tutor Setting DNS CentOS
06-30-2012, 10:19 AM (This post was last modified: 06-30-2012 10:22 AM by tresna.)
Post: #1
tresna Offline
./Devilz 1st Cadet
Posts: 18
Joined: Feb 2012
Reputation: 3
Wink Setting DNS CentOS
pagi semua ngakak
ikut share yaaaaaa... ane mu posting setting DNS centos 5 nih
langsung ajah ke TKP
[/code]
pertama install dulu bind nya..
Quote:# yum install bind caching-nameserver

setelah itu kita edit file konfigurasi bind
Quote:# vi /etc/named.rfc1912.zones

trus tambahin scrip ini di ahir baris
Quote:zone "tresna-widiyaman.sch.id" IN { #nama domain
type om;
file "tresna.zone"; #namanya bisa apasaja
allow-update {none; };
};

trus kita bikin tresna.zone yg diambil dr file localhost.zone
Quote:# cp /var/named/chroot/var/named/localhost.zone /var/named/chroot/var/named/tresna.zone

terus kita edit file tresna.zone
Quote:# cd /var/named/chroot/var/named/
# vi tresna.zone

trus isiin kaya di bawah ini
Quote:$TTL 86400
@IN SOA ns.tresna-widiyaman.sch.id. admin.tresna-widiyaman.sch.id
. (
42
3H
15M
1W
1D )

IN NS ns.tresna-widiyaman.sch.id
IN MX 10 mail.tresna-widiyaman.sch.id. #jika punya mail server
IN A 192.168.35.1 #ip address server
Ns IN A 192.168.35.1
www IN A 192.168.35.1
mail IN A 192.168.35.1 #ip ini bisa diganti jika berbeda

ubah kepemilikan file tresna.zone menjadi root group named
Quote:# chown root.named tresna.zone

edit file /etc/named.caching-namedserver.conf
Quote:# vi /etc/named.caching-namedserver.conf

trus ganti semua isinya sama yang di bawah ini
Quote:-listen-on port 53 {any: };
-listen-on-v6 port 53 {any: };
-allow-query {any; };
-match-destinations {any: };

trus restart deh named nya
Quote:# /etc/init.d/named restart

sekarang tinggal ujicoba
Quote:# nslookup tresna-widiyaman.sch.id

kalau hasilnya kaya di bawah ini berarti udah berhasil
Quote:Server: 192.168.35.1
Address: 192.168.35.1#53


Non-authoritative answer:
Name: tresna-widiyaman.sch.id
Address: xx.xx.xx.167

semoga bermanfaatmantapmantapmantapmantap
Visit this user's website Find all posts by this user
Quote this message in a reply
 Reputed by :  Super Moderator(+1) , rusuh(+1) , ditatompel(+1)
06-30-2012, 10:23 AM
Post: #2
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 6,937
Joined: Jan 2010
Reputation: 237
RE: Setting DNS CentOS
ijin :belajak kk wew
Visit this user's website Find all posts by this user
Quote this message in a reply
06-30-2012, 10:41 AM
Post: #3
ditatompel Offline
Administrator
*******
Administrators
Posts: 2,168
Joined: Dec 2010
Reputation: 367
RE: Setting DNS CentOS
mantap nih omz..
Bakal lebih asik klo dijelasin apa itu SOA, NS, MX, A, AAAA, TXT, PTR, dll nih omz.. smangat
Find all posts by this user
Quote this message in a reply
06-30-2012, 10:46 AM
Post: #4
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 6,937
Joined: Jan 2010
Reputation: 237
RE: Setting DNS CentOS
(06-30-2012 10:41 AM)ditatompel Wrote:  mantap nih omz..
Bakal lebih asik klo dijelasin apa itu SOA, NS, MX, A, AAAA, TXT, PTR, dll nih omz.. smangat

NameServer,StartOfAuthority,MaileXchange,PointerRecords smangat
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
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
  Setting IP dan DNS Virtual ( Alias ) wahyu_devilzc0de™ 13 4,996 02-09-2013 10:47 AM
Last Post: arga dio
Tongue [Tutor] Setting IP Address pada Debian 6 (Squeeze) sandimulyadi 11 1,402 07-20-2012 09:59 PM
Last Post: asong123
  [Solved] instalasi NS Authoritative dengan Bind pada CentOS 6 tompskin 11 1,118 02-03-2012 02:10 PM
Last Post: tompskin
  bantuin setting dns server BlueWind 9 2,562 12-27-2011 07:57 AM
Last Post: h1dr0-X

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-19-2013, 02:11 PM 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