Forum TKJ SMKN 1 SLAWI
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Audit ISO SMKN 1 Slawi
Install DNS Server di Ubuntu EmptyTue Feb 14, 2017 11:22 am by agoenk

» Verifikasi UPK 2017
Install DNS Server di Ubuntu EmptyTue Feb 14, 2017 11:01 am by agoenk

» Simulasi UBK tahap kedua
Install DNS Server di Ubuntu EmptyTue Feb 14, 2017 10:44 am by agoenk

» Mengganti favicon di wordpress
Install DNS Server di Ubuntu EmptySat Feb 11, 2017 11:22 am by agoenk

» Undangan Pertemuan Rutin MGMP TKJ Gugus Bisman SMKN 1 Slawi bulan Desember 2016 sekaligus Pelatihan Mikrotik
Install DNS Server di Ubuntu EmptySat Nov 26, 2016 9:59 am by agoenk

» SPMI ( Sistem Penjaminan Mutu Internal ) untuk sekolah Model
Install DNS Server di Ubuntu EmptyWed Oct 26, 2016 1:58 pm by agoenk

» Pertemuan Rutin MGMP TKJ Gugus Bisman SMK Negeri 1 Slawi Bulan Oktober 2016
Install DNS Server di Ubuntu EmptyFri Oct 14, 2016 10:17 pm by agoenk

» INFO PPDB SMKN 1 SLAWI TAHUN PELAJARAN 2016 / 2017
Install DNS Server di Ubuntu EmptyMon Jun 13, 2016 6:35 am by Admin

» Kegiatan 3P Jurusan TKJ SMKN 1 Slawi
Install DNS Server di Ubuntu EmptyTue Apr 26, 2016 10:16 am by agoenk

Top posters
agoenk (2099)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
viyan_cs (1036)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
b-joe (749)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
ieyaz_Chuit (725)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
Zell Aristocrats (667)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
jun43d1 (638)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
Hetro_fabio (314)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
twinkblack (265)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
suzee_tkj2 (237)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 
harmoko (184)
Install DNS Server di Ubuntu I_vote_lcapInstall DNS Server di Ubuntu I_voting_barInstall DNS Server di Ubuntu I_vote_rcap 

April 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar

Affiliates
tkjpower.multiply.com
 

Install DNS Server di Ubuntu

2 posters

Go down

Install DNS Server di Ubuntu Empty Install DNS Server di Ubuntu

Post by viyan_cs Sat May 30, 2009 9:25 am

sebelum kita mencoba instal dns alangkah baiknya kita tahu dulu apa itu dns ..?

DNS (Domain Name System, bahasa Indonesia: Sistem Penamaan Domain) adalah sebuah sistem yang menyimpan informasi tentang nama host maupun nama domain dalam bentuk basis data tersebar (distributed database) di dalam jaringan komputer, misalkan: Internet. DNS menyediakan alamat IP untuk setiap nama host dan mendata setiap server transmisi surat (mail exchange server) yang menerima surat elektronik (email) untuk setiap domain.

DNS menyediakan servis yang cukup penting untuk Internet, bilamana perangkat keras komputer dan jaringan bekerja dengan alamat IP untuk mengerjakan tugas seperti pengalamatan dan penjaluran (routing), manusia pada umumnya lebih memilih untuk menggunakan nama host dan nama domain, contohnya adalah penunjukan sumber universal (URL) dan alamat e-mail.

Pengelola dari sistem DNS terdiri dari tiga komponen:

* DNS resolver, sebuah program klien yang berjalan di komputer pengguna, yang membuat permintaan DNS dari program aplikasi.
* recursive DNS server, yang melakukan pencarian melalui DNS sebagai tanggapan permintaan dari resolver, dan mengembalikan jawaban kepada para resolver tersebut;

dan ...

* authoritative DNS server yang memberikan jawaban terhadap permintaan dari recursor, baik dalam bentuk sebuah jawaban, maupun dalam bentuk delegasi (misalkan: mereferensikan ke authoritative DNS server lainnya)

Langkah-langkah menginstall DNS Server di Ubuntu.
1. Install dulu daemon bind nya (software untuk dns di linux adalah bind)
#apt-get install bind9

2. Ganti dns di server lo dengan ip lo, misalnya ip lo 192.168.10.1 caranya:
#nano /etc/resolv.conf
– tulis perintah dibawah berikut –

nameserver 192.168.168.1

– berakhir di atas tulisan ini –
simpan dengan menekan ctrl+x tekan y kemudian enter

3. coba sekarang cek browsing diclient ganti dns 1 nya make ip server lo en dns 2 nya kosongin aja. kalo lo berhasil browsing maka, install dns lo dah sukses.

Cara Buat Domain.
1. setelah buat dns, lanjut dengan mengedit file named.conf
#nano /etc/bind/named.conf

2. dibagian paling bawah tulis konfigurasi berikut:
– mulai nulis di bagian paling bawah –

zone “domainlo.com” IN {
type master;
file “db.domain”;
};

zone “168.168.192.in-addr.arpa” IN {
type master;
file “db.ipadrs”;
};

– berakhir diatas tulisan ini –
simpan dengan menekan ctrl+x tekan y kemudian enter

Ket:
- Untuk bagian zone “domainlo.com” cuma permisalan doang

- Untuk bagian zone “168.168.192.in-addr.arpa” angka disini adalah ip address komputer server yang dibalik. disitu hanya contoh saja. misalnya gini, ip server lo 192.168.168.1 maka diambil tiga angka didepan dan dibalik jadi 168.168.192 . ngerti kan ? jangan dudutz-dudutz amat lah..

3. Pindahkan posisi kita ke folder /var/cache/bind
#cd /var/cache/bind

4. Buat file db.domain
#nano db.domain
– copy kan tulisan dibawah –

; domainlo.com
$TTL 604800
@ IN SOA ns1.domainlo.com. root.domainlo.com. (
2006020201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800); Negative Cache TTL
;
@ IN NS ns1
IN MX 10 mail
IN A 192.168.168.1
ns1 IN A 192.168.168.1
;mail IN A 192.168.0.2 ; kalo punya server email selain server ini.
www IN A 192.168.168.1
ftp IN A 192.168.168.1 ; ini kalo server lo juga ada ftpnya
;client1 IN A 192.168.168.1 ; We connect to client1 very often.

– berakhir diatas tulisan ini –
simpan dengan menekan ctrl+x tekan y kemudian enter.

5. buat file db.ipadrs
– copy tulisan dibawah –

; domainlo.com
$TTL 604800
@ IN SOA ns1.domainlo.com. root.domainlo.com. (
2006020201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800); Negative Cache TTL
;
@ IN NS ns1
IN MX 10 mail
ns1 IN PTR 192.168.168.1
1 IN PTR ns1
1 IN PTR ns1.domainlo.com

– berakhir diatas tulisan ini –
simpan make ctrl+x tekan y kemudian enter

ket: Angka 1 pada dua bagian terakhir yang bersebelahan dengan IN adalah angka belakang pada ip address. jadi kalo ip address server lo 192.168.168.10 , maka ditulis 10 . Disini permisalan ip address server kita akhirannya 1.

6. Setting file resolv.conf
#nano /etc/resolv.conf

– tulis bagian dibawah –

search domainlo.com
nameserver 192.168.168.1
domain domainlo.com
domain www.domainlo.com

– berakhir diatas tulisan ini –
simpen dengan ctrl+x tekan y kemudian enter.

7. Buat file options di folder /etc/network
# nano /etc/network/options
– isikan seperti dibawah ini –

ip_forward = yes
spoofprotect = yes
syncookies = no

– berakhir disini –
simpen make ctrl+x tekan y kemudian enter.

8. edit juga file hosts di folder /etc
#nano /etc/hosts

– tambahkan dibawahnya –

192.168.168.1 domainlo.com

– berakhir diatas tulisan ini –
simpen seperti biasa

9. restart program bind dan network nya
#/etc/init.d/bind9 restart
#/etc/init.d/networking restart

10. Test dengan perintah
#dig domainlo.com
viyan_cs
viyan_cs
tkj geek
tkj geek

Posts : 1036
Join date : 2009-03-19
Age : 32
Location : bogkids

Back to top Go down

Install DNS Server di Ubuntu Empty Re: Install DNS Server di Ubuntu

Post by johnbinus Sun Nov 01, 2009 10:03 pm

mounting cdrom nya masih tertinggal mas.....

atp-cdrom add

setelah itu

apt-get install <nama paket>

johnbinus
tkjmaniac
tkjmaniac

Posts : 129
Join date : 2009-11-01

Back to top Go down

Install DNS Server di Ubuntu Empty Re: Install DNS Server di Ubuntu

Post by viyan_cs Mon Nov 02, 2009 7:52 am

oia thanks tas masukannya.

kebetulan saya install tidak menggunakan cdrom saya install menggunakan repository yang ada di internet jadi tidak menbutuhkan cdrom Smile


Last edited by viyan_cs on Mon May 13, 2013 3:53 pm; edited 1 time in total
viyan_cs
viyan_cs
tkj geek
tkj geek

Posts : 1036
Join date : 2009-03-19
Age : 32
Location : bogkids

Back to top Go down

Install DNS Server di Ubuntu Empty Re: Install DNS Server di Ubuntu

Post by johnbinus Mon Nov 02, 2009 4:26 pm

ya sama sama

johnbinus
tkjmaniac
tkjmaniac

Posts : 129
Join date : 2009-11-01

Back to top Go down

Install DNS Server di Ubuntu Empty Re: Install DNS Server di Ubuntu

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum