Domain Name System

342 views

Published on

Domain Name System Overview for Linux Server

www.ITALIC-Solution.com

http://www.facebook.com/Yulianto.Sidabutar

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
342
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Domain Name System

  1. 1. YULIANTO PARULIANS. SIDABUTAR ITALIC Solution – IT Consultant yulianto.sidabutar@gmail.com 081 334 028 058 http://www.italic-solution.com/
  2. 2. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ DomainNameSystem Merupakan sistem berbentuk database terdistribusi yang akan memetakan atau mengkonversikan nama host atau mesin atau domain ke alamat IP (Internet Protocol) dan sebaliknya dari alamat IP ke nama host yang disebut dengan reverse-mapping.
  3. 3. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ FungsiDNS Bagaimana jika manusia harus menghapal semua alamat web dalam bentuk IP Address? Haruskah mengingat ratusan, ribuan, bahkan jutaan alamat IP di Internet? PUSING!! @#^*@&%^$)@#*
  4. 4. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/
  5. 5. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/
  6. 6. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/
  7. 7. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ ClientDNSServer Lokal ROOTDNS Internet
  8. 8. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/
  9. 9. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ • Sebuah program aplikasi pada host yang mengakses domain system disebut sebagai resolver • Resolver mengontak DNS server, yang biasa disebut name server • DNS server mengembalikan IP address ke resolver yang meneruskan ke aplikasi yang membutuhkan IP address HTTP Resolver Hostname (neon.tcpip-lab.edu) IP address (128.143.71.21) Name server Hostname (neon.tcpip-lab.edu) IPaddress(128.143.71.21) ClientDNSServer Lokal ROOTDNS Internet
  10. 10. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ DNSServer Paket yang dibutuhkan : - Bind9 - dnsutils • Primary DNS • Secondary DNS • Cache Only DNS
  11. 11. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ KonfigurasiDNSServer  File-file Konfigurasi ada pada direktori /etc/bind/ - named.conf - Zona_file - Zona_reverse_file
  12. 12. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ #vim/etc/bind/named.conf.local zone "yulianto.net" { type master; file "/etc/bind/db.yulianto.net"; }; zone “55.168.192.in-addr.arpa" { type master; file "/ etc/bind/db.192"; };
  13. 13. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ db.yulianto.net ; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA ns1.yulianto.net. admin.yulianto.net. ( 3 ; serial 604800 ; refresh 86400 ; retry 2419200 ; expire 604800 ) ; negative cache TTL @ IN NS ns1.yulianto.net. @ IN A 192.168.55.141 ns1 IN A 192.168.55.141 web1 IN A 192.168.55.131 router IN A 192.168.55.1 www IN CNAME admin
  14. 14. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ db.192 ; ;BIND data file for local loopback interface ; $TTL 604800 @ IN SOA ns1.yulianto.net. admin.yulianto.net. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL IN NS ns1.yulianto.net. 141 IN PTR ns1.yulianto.net. 131 IN PTR web1.yulianto.net. 1 IN PTR router.yulianto.net.
  15. 15. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ /etc/resolv.conf nameserver 192.168.55.141
  16. 16. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ TestDNSServer  Setelah melakukan konfigurasi, restart service dns #/etc/init.d/bind9 start | stop | restart Pada komputer klien tambahkan pada file /etc/resolv.conf search yulianto.net nameserver [IP_of_DNS_Server1] nameserver [IP_of_DNS_Server2]
  17. 17. YULIANTO PARULIAN S.SIDABUTAR HTTP://WWW.ITALIC-SOLUTION.COM/ CekSystemLog  Jika terjadi Error pada waktu starting service DNS, bisa kita amati log nya pada file /var/log/syslog #tail -f /var/log/syslog  Cek port status dari semua service yg aktif #nmap localhost
  18. 18. YULIANTO PARULIAN S. SIDABUTAR ITALIC Solution – IT Consultant yulianto.sidabutar@gmail.com 081 334 028 058 http://www.italic-solution.com/

×