1 / 0

DNS

DNS. Domain Name system. Introduction. ระบบแปลงชื่อเป็นตัวเลข ตัวเลข – หมายเลข IPv (4/6) www.cmu.ac.th->202.28.249.14 โครงสร้างลำดับชั้น ( Hierachical ) แบ่งกันรับผิดชอบตามลำดับ. DNS Hierachical. Video: Domain Name System (DNS) How It Works. History.

evette
Download Presentation

DNS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DNS

    Domain Name system
  2. Introduction ระบบแปลงชื่อเป็นตัวเลข ตัวเลข – หมายเลข IPv(4/6) www.cmu.ac.th->202.28.249.14 โครงสร้างลำดับชั้น (Hierachical) แบ่งกันรับผิดชอบตามลำดับ
  3. DNS Hierachical Video: Domain Name System (DNS) How It Works
  4. History ARPANET (Advanced Research Projects Agency Network) Massachusetts Institute of Technology and the Defense Advanced Research Projects Agency (DARPA) Packet switching
  5. ARPA Net
  6. History Host.txt at Sri Computer(Stanford Research Institute) 1984(2527) Berkley students พัฒนา Berkeley Internet Name Domain (BIND) 
  7. History
  8. DNS Name Server DNS = Internet Name Server+DNS Protocol Server เก็บ DNS Records A(Address) Record NS(Name Server) Record MX(Mail Exchange) Record ….
  9. DNS Name Server
  10. Domain Name Space Tree of Domain Name Node หรือ Leaf เก็บข้อมูลของโดเมน(Zone)
  11. Domain Name Space Tree ถูกแบ่งเป็น Zones เริ่มตั้งแต่ Root zone DNS Zone = ข้อมูลของ node ที่อยู่ติดกัน(Autoritative Name Server) เช่น th -> thnic server(root of th) ac -> thnic server(zone ac.th) cmu -> ns.cmu.ac.th(zone cmu.ac.th) Nurse of cmu -> mail.nurse.cmu.ac.th(zone nurse.cmu.ac.th)
  12. Domain Name Space th ac cmu nurse
  13. DNS Root Zone Top-level DNS Zone By IANA(Internet Assigned Numbers Authority) 13 Clusters(Why 13???) a.root-servers.net to m.root-servers.net .com,.net,.org,.th
  14. DNS Root Zone
  15. DNS Root Server http://root-servers.org/
  16. Domain Name Fomulation Domain name ประกอบด้วย 1 ส่วนขึ้นไปเรียกว่า Label(name space) แต่ละส่วนคั่นด้วย “.”(จุด) เช่น www.cmu.ac.th ส่วนขวาสุดของ Domain name คือ top-level domain เช่น www.cmu.ac.thขวาสุดหรือ top-level domain คือ th
  17. Domain Name Fomulation โครงสร้างชื่อโดเมนไล่จากขวามาซ้าย Label ด้านซ้ายเรียกว่า subdomainของโดเมนด้านขวา เช่น www.cmu.ac.th ac คือ subdomainของ th cmuคือ subdomainของ ac แต่ละ root domain มี subdomainได้ 127 sub.
  18. Domain Name Fomulation แต่ละ label ยาวไม่เกิน 63 ตัวอักษร Full domain name ยาวไม่เกิน 253 ตัวอักษร DNS Name ใช้กฎตัวอักษร LDH(Letter,Digit,Hyphen) แต่ไม่ขึ้นต้นด้วยอักขระพิเศษ(Hyphen)
  19. Domain Name Fomulation
  20. Name Server DNS use Distributed Database System Client-Server Model(53udp/tcp) Node of Database is “Name Server” 1 Domain – 1 Authoritative DNS Server Top-level domain -> root name server
  21. Domain Name Space th ac cmu nurse
  22. Authoritative Name Server Name server : แหล่งให้ข้อมูลเกี่ยวกับชื่อโดเมน Master / Slave Authoritative Name Server Non-Authoritative Name Server
  23. Authoritative Name Server
  24. Recursive and caching name server Authoritative name server 1 ตัว ???? เพิ่มประสิทธิภาพ -> ลด DNS Traffic -> Caching name server 1 Authoritative & 1 caching name server
  25. Address resolution mechanism ติดตั้ง root hint ให้แก่ dns server ถาม root server ว่า server ใดรับผิดชอบ top-level domain(ขวาสุด) ถาม server ที่รับผิดชอบ top-level domain ว่า server ใดรับผิดชอบ second level domain ถาม level ถัดไปเรื่อยๆ
  26. Address resolution mechanism
  27. Client Lookup
  28. DNS resource records Resource record(RR) : Basic data element Type Rdata Name Class
  29. DNS resource records
  30. Zones ส่วนของ name space หรือ label ที่ต่อกัน ภายใน zone อาจมีหลายโดเมน(subdomain) แต่ละ subdomainอาจแบ่งให้ DNS อื่นรับผิดชอบ ข้อมูลของแต่ละ zone เก็บในไฟล์ข้อมูลแยกกัน
  31. Zones
  32. Zones Standard Primary : เก็บต้นฉบับของ zone Standard Secondary : เก็บสำเนาของ zone Zone Transfer
  33. Zone Files Zone Properties NS of Zone Address Record
  34. DNS Zone Transfer Full & Increment 53/TCP with server-client master(SOA) -> slave เทียบ serial
  35. DNS Zone Transfer
  36. Zone Transfer Ploblems Serial number change Serial number comparison(YYYYMMDD) Exposure of Data
  37. Reverse DNS lookup เปลี่ยนกลับจาก IP -> domain name ภายใต้โดเมน in-addr.arpa 202.28.249.0 -> 249.28.202.in-addr.arpa PTR Record
  38. Reverse DNS lookup
  39. Round Robin DNS
  40. ความหมายของ root domain สากล .com ย่อมาจาก commercial สำหรับธุรกิจ  .eduย่อมาจาก education สำหรับการศึกษา  .intย่อมาจาก International Organization สำหรับองค์กรนานาชาติ  .org ย่อมาจาก Organization สำหรับหน่วยงานที่ไม่แสวงหากำไร  .net ย่อมาจาก Network สำหรับหน่วยงานที่มีเครือข่ายของ ตนเองและทำธุรกิจด้านเครือข่าย
  41. ความหมายของ root domain .th .ac.thย่อมาจาก Academic Thailand สำหรับสถานศึกษาในประเทศไทย  .co.th ย่อมาจาก Company Thailand สำหรับบริษัทที่ทำธุรกิจในประเทศไทย  .go.th ย่อมาจาก Government Thailand สำหรับหน่วยงานต่างๆ ของรัฐบาล  .net.th ย่อมาจาก Network Thailand สำหรับบริษัทที่ทำธุรกิจด้านเครือข่าย  .or.th ย่อมาจาก Organization Thailand สำหรับหน่วยงานที่ไม่แสวงหากำไร  .in.th ย่อมาจาก Individual Thailand สำหรับของบุคคลทั่วๆ ไป
  42. DNS Tools Who is & Lookup http://www.dnsstuff.com http://network-tools.com http://www.4dnstools.com/ http://www.dnswatch.info/ http://www.mxtoolbox.com http://www.dnstools.com/
  43. DNS Tools Nslookup Server Set type=xx Set domain=xxx.domain.com ls –d xxx.domain.com
More Related