konfigurasi dns server

11
LAPORAN KONFIGURASI DNS SERVER Disusun oleh Kelompok IV: 1. Muhammad Adito Kurniawan no.19 2. Muhammad Khoirul no.20 3. Muhammad Meisaviri no.21 4. Muhammad Sidiq no.22 5. Nanang Tri Susilo no.23 6. Nasrudin no.24 XII TKJ B SMK Negeri 2 Surakarta Jl. L.U. Adisucipto No.33 Telp.(0271) 714901 Surakarta kode Pos 57139 E-mail: [email protected] ,- http://www. smkn2-solo.net/

Upload: muh-adito-kurniawan

Post on 18-Feb-2015

62 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Konfigurasi DNS Server

LAPORAN

KONFIGURASI DNS SERVER

Disusun oleh Kelompok IV:

1. Muhammad Adito Kurniawan no.19 2. Muhammad Khoirul no.20 3. Muhammad Meisaviri no.21 4. Muhammad Sidiq no.22 5. Nanang Tri Susilo no.23 6. Nasrudin no.24

XII TKJ B

SMK Negeri 2 Surakarta

Jl. L.U. Adisucipto No.33 Telp.(0271) 714901 Surakarta kode Pos 57139

E-mail: [email protected] ,- http://www. smkn2-solo.net/

Page 2: Konfigurasi DNS Server

Opsi konfigurasi:

ns.smkn2ska.sch.id = 192.168.11.1/24

www. smkn2ska.sch.id = 192.168.11.2/24

mail. smkn2ska.sch.id = 192.168.13.3/24

produktif.tkj.com = 202.134.1.10/24

Topologi konfigurasi:

Page 3: Konfigurasi DNS Server

Langkah-langkah Konfigurasi DNS Server

1) Konfigurasi ip address sesuai dengan ketentuan pada file interfaces.

2) Setelah merubah ip address, restart konfigurasi jaringan.

kelompok4:~# /etc/init.d/networking restart

Page 4: Konfigurasi DNS Server

3) Cek konfigurasi jarngan menggunakan perintah ifconfig.

kelompok4:~# ifconfig

4) Karena menggunakan 3 network ip address yang berbeda, tambahkan firewall untuk

Routing pada file rc.local.

kelompok4:~# pico /etc/rc.local

5) Untuk menerapkan konfigurasi yang telah ditambahkan dalam file rc.local, eksekusi

file rc.local dan jalankan kembali.

6) Aktifkan ipv4 forward dan ip source route pada file sysctl.conf.

kelompok4:~# pico /etc/sysctl.conf

ipv4 forward

Ip source route

Page 5: Konfigurasi DNS Server

7) Selesai mengkonfigurasi jaringan dan routing, intall package bind9 untuk DNS Server

kelompok4:~# apt-get install bind9

8) Masuk ke direktori bind dan gunakan perintah ls untuk melihat isi dari direktori bind

kelompok4:~# cd /etc/bind

9) Copy file zones.rfc1918 dengan nama named.conf.

kelompok4:/etc/bind# cp zones.rfc1918 named.conf

10) Edit dan tambahkan konfigurasi untuk forward dan reverse, pada file named.conf.

kelompok4:/etc/bind# pico named.conf

11) Copy file db.local dan db.127 dengan nama sesuai dengan zone yang telah dibuat di

named.conf. kelompok4:/etc/bind# cp db.local db.smk

kelompok4:/etc/bind# cp db.local db.tkj

kelompok4:/etc/bind# cp db.127 db.tkjip

kelompok4:/etc/bind# cp db.127 db.13

kelompok4:/etc/bind# cp db.127 db.11

Page 6: Konfigurasi DNS Server

12) Tambahkan script berikut pada file db.smk.

kelompok4:/etc/bind# pico db.smk

13) Tambahkan script berikut pada file db.11.

kelompok4:/etc/bind# pico db.11

Page 7: Konfigurasi DNS Server

14) Tambahkan script berikut pada file db.13.

kelompok4:/etc/bind# pico db.13

15) Tambahkan script berikut pada file db.tkj.

kelompok4:/etc/bind# pico db.tkj

16) Tambahkan script berikut pada file db.tkjip.

kelompok4:/etc/bind# pico db.tkjip

Page 8: Konfigurasi DNS Server

17) Setelah selesai mengkonfigurasi, restart bind9.

kelompok4:/etc/bind# /etc/init.d/bind9 restart

18) Konfigurasi bind9 pada DNS Server telah selesai.

Page 9: Konfigurasi DNS Server

Pengujian Konfigurasi DNS Server

Pengujian dari server

1. Menggunakan perintah dig kelompok4:/etc/bind# dig smkn2ska.sch.id

kelompok4:/etc/bind# dig produktif.tkj.com

2. Menggunakan perintah nslookup kelompok4:/etc/bind# nslookup ns.smkn2ska.sch.id

Page 10: Konfigurasi DNS Server

kelompok4:/etc/bind# nslookup www.smkn2ska.sch.id

kelompok4:/etc/bind# nslookup mail.smkn2ska.sch.id

kelompok4:/etc/bind# nslookup produktif.tkj.com

kelompok4:/etc/bind# nslookup 192.168.11.1

kelompok4:/etc/bind# nslookup 192.168.11.2

kelompok4:/etc/bind# nslookup 192.168.13.3

kelompok4:/etc/bind# nslookup 202.134.1.10

Page 11: Konfigurasi DNS Server

Pengujian dari Client

1. Setting TCP/IP client agar satu network dengan eth0 pada Server.

2. Buka command prompt dan ketikan perintah nslookup ke semua domain yang telah

dibuat.