user warning: Unknown column 'token' in 'field list' query: UPDATE blog_captcha_sessions SET token='df1c3e03e0aff96b29789c5d603caf27' WHERE csid=107182 in /home/www/virtual/joezine.com/htdocs/sites/all/modules/captcha/captcha.module on line 213.

DNS and BIND : Charpter 1 : Background

Submitted by joezine on Tue, 04/28/2009 - 07:02

สรุปง่ายๆ เพราะเป็นเรื่องพื้นฐานที่รู้อยู่แล้ว

A Brief History of the Internet

  • ARPA (ต่อมาคือ DARPA) ตั้ง ARPANet เป็นโครงการวิจัย Computer Network ของ USA
  • พัฒนา TCP/IP และให้ Computer หลายเครื่อง Connect กัน (LAN)
  • Network โตขึ้น เพราะมีหลาย Computer, APANet จึงกลายเป็น Backbone ของ Network ที่เรียกว่า Internet
  • DARPA จึงตั้ง NSFNET เพื่อแทนที่ ARPANet (ในส่วนของ Backbone Internet)

ON the Internet and internets

  • ใน Computer ของ ARPAnet แต่ละเครื่องมี HOSTS.TXT ที่จะ Map ทุก Host เข้า ARPANet
  • HOSTS.TXT ถูกดูแลโดย NIC
  • ปัญหาตามมาที่ใช้ HOSTS คือ
    • Traffic and Load
    • Name Collisions
    • Consistency

The Domain Name System in a Nutshell

  • โครงสร้าง DB ของ DNS คล้าย Unix Path (Start จาก / )
  • ให้แบ่งตามจุด (คล้าย / )

DNS

  • แต่จะ Node มี DB ของตัวเอง (เรียกว่า Directory)
  • DB จะเรียกว่า Subdomain (คล้ายกับ Subdirectory) คือ Child Node ของ Parent นั้นๆ
  • การอ่านชื่อของ DNS จะอ่านจากล่างขึ้นบน ตรงกันข้ามกับ Unix Path (ตามรูปด้านล่าง)

DNS

  • สามารถแยกย่อยจำนวนของ Subdomain ได้ เช่น Netsolution เป็นเจ้าของ edu domain แต่แบ่งความรับผิดชอบ berkeley.edu ให้ UC Berkeley

DNS

  • berkeley.edu สร้าง Zone ใหม่ และอาจจะแบ่ง Subdomain ให้กับองค์กรอื่นๆดูแลต่อไป เช่น cs.berkeley.edu

DNS

  • แต่ละ host บน Netork มี Domain name ซึ่ง Point ไปยังข้อมูลเกี่ยวกับ Host
  • ข้อมูลจะเป็น IP, Mail Routing, etc. เช่น mailhub.nv… เป็น Alias ของ rincon.ba.ca…

DNS

  • อาจจะดูยุ่งยาก แต่เป็นการแก้ปัญหาเดิมๆของ HOST.TXT คือ แต่ละ Domain มี Domain Name เดี่ยว ดังนั้นองค์กรจะใช้ Domain ที่เป็นอิสระไปยังชื่อ Hosts และ Subdomain ภายใต้ Domain เช่น องค์กรหนึ่งใช้ hic.com ใช้ชื่อ host puella

DNS

The History of BIND

  • เมื่อก่อนเรียก JEEVES เขียนโดย Paul Mockapetris
  • ต่อมาเรียกว่า BIND เพราะ เขียนให้ Berkeley BSD โดย Kevin Dunlap
  • เป็ฯ Software ที่ได้รับความนิยมในช่วงนี้

Must I use DNS ?

  • เมื่อต้อง connect internet
  • เมื่อมี TCP/IP Internet ของตัวเอง
  • เมื่อมี Network ของตัวเอง
Tags: | »

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see and Markdown Extra for tables, footnotes, and more.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options